From b3569174b67e647661a95a0e1bbaeebb6fde00f7 Mon Sep 17 00:00:00 2001 From: Fred KISSIE Date: Thu, 15 Jan 2026 00:20:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20sqlite=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/db/sqlite/schema/schema.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/db/sqlite/schema/schema.ts b/server/db/sqlite/schema/schema.ts index eca40afc..31261029 100644 --- a/server/db/sqlite/schema/schema.ts +++ b/server/db/sqlite/schema/schema.ts @@ -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(