🐛 fix sqlite type

This commit is contained in:
Fred KISSIE
2026-01-15 00:20:45 +01:00
parent 0cae624995
commit b3569174b6

View File

@@ -387,7 +387,10 @@ export const clients = sqliteTable("clients", {
// endpoint: text("endpoint"),
lastHolePunch: integer("lastHolePunch"),
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(