aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db/schema.ts
diff options
context:
space:
mode:
authorxuatz <xzlow10@gmail.com>2025-06-02 04:01:26 +0900
committerGitHub <noreply@github.com>2025-06-01 20:01:26 +0100
commit3afe1e21df6dcc0483e74e0db02d9d82af32ecea (patch)
tree32208bf2de6fedae00aaeb4f7ca0d74a816b4764 /packages/db/schema.ts
parent8784c73c112b5b87bcf48670401e3956464ea436 (diff)
downloadkarakeep-3afe1e21df6dcc0483e74e0db02d9d82af32ecea.tar.zst
feat: add user customisable default archive display behaviour (#1505)
* fix typo * implementation * bug fix and refactoring * Use nuqs for searchParam management * remove the todo about the tests * fix tests --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
Diffstat (limited to 'packages/db/schema.ts')
-rw-r--r--packages/db/schema.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/db/schema.ts b/packages/db/schema.ts
index 08dbacab..33ba0350 100644
--- a/packages/db/schema.ts
+++ b/packages/db/schema.ts
@@ -537,6 +537,9 @@ export const userSettings = sqliteTable("userSettings", {
bookmarkClickAction: text("bookmarkClickAction", {
enum: ["open_original_link", "expand_bookmark_preview"],
}).notNull().default("open_original_link"),
+ archiveDisplayBehaviour: text("archiveDisplayBehaviour", {
+ enum: ["show", "hide"],
+ }).notNull().default("show"),
});
// Relations