mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-01 16:26:39 +00:00
🐛 fix sqlite type
This commit is contained in:
@@ -387,7 +387,10 @@ export const clients = sqliteTable("clients", {
|
|||||||
// endpoint: text("endpoint"),
|
// endpoint: text("endpoint"),
|
||||||
lastHolePunch: integer("lastHolePunch"),
|
lastHolePunch: integer("lastHolePunch"),
|
||||||
archived: integer("archived", { mode: "boolean" }).notNull().default(false),
|
archived: integer("archived", { mode: "boolean" }).notNull().default(false),
|
||||||
blocked: integer("blocked", { mode: "boolean" }).notNull().default(false)
|
blocked: integer("blocked", { mode: "boolean" }).notNull().default(false),
|
||||||
|
approvalState: text("approvalState")
|
||||||
|
.$type<"pending" | "approved" | "denied">()
|
||||||
|
.default("approved")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const clientSitesAssociationsCache = sqliteTable(
|
export const clientSitesAssociationsCache = sqliteTable(
|
||||||
|
|||||||
Reference in New Issue
Block a user