aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db/schema.ts
diff options
context:
space:
mode:
authorkamtschatka <simon.schatka@gmx.at>2024-07-08 01:39:12 +0200
committerGitHub <noreply@github.com>2024-07-08 00:39:12 +0100
commitee167beb6546f89d270b6b6bbdc3ffd754103948 (patch)
tree67a97470f9927cc07821f3aadca10342f9fee822 /packages/db/schema.ts
parent6a8d839d7bc8be65fd99f2e6c65bcc073977a10b (diff)
downloadkarakeep-ee167beb6546f89d270b6b6bbdc3ffd754103948.tar.zst
chore: added a new table to store the config in the database (#279)
Diffstat (limited to 'packages/db/schema.ts')
-rw-r--r--packages/db/schema.ts5
1 files changed, 5 insertions, 0 deletions
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 }) => ({