diff options
| author | kamtschatka <simon.schatka@gmx.at> | 2024-07-08 01:39:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-08 00:39:12 +0100 |
| commit | ee167beb6546f89d270b6b6bbdc3ffd754103948 (patch) | |
| tree | 67a97470f9927cc07821f3aadca10342f9fee822 /packages/db/schema.ts | |
| parent | 6a8d839d7bc8be65fd99f2e6c65bcc073977a10b (diff) | |
| download | karakeep-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.ts | 5 |
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 }) => ({ |
