From ee167beb6546f89d270b6b6bbdc3ffd754103948 Mon Sep 17 00:00:00 2001 From: kamtschatka Date: Mon, 8 Jul 2024 01:39:12 +0200 Subject: chore: added a new table to store the config in the database (#279) --- packages/db/schema.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages/db/schema.ts') diff --git a/packages/db/schema.ts b/packages/db/schema.ts index c3e8e136..4398523a 100644 --- a/packages/db/schema.ts +++ b/packages/db/schema.ts @@ -297,6 +297,11 @@ export const bookmarksInLists = sqliteTable( }), ); +export const config = sqliteTable("config", { + key: text("key").notNull().primaryKey(), + value: text("value").notNull(), +}); + // Relations export const userRelations = relations(users, ({ many }) => ({ -- cgit v1.2.3-70-g09d2