aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db/schema.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-12-27 16:30:11 +0200
committerGitHub <noreply@github.com>2025-12-27 14:30:11 +0000
commitaf3010abaa37f7db4144820469422bdbb432adfc (patch)
tree20f29ef6df2efce261d7d7964e0535beb0b51a7b /packages/db/schema.ts
parent93630ce88dcb07bcdf7445185fe20612a5c22b7b (diff)
downloadkarakeep-af3010abaa37f7db4144820469422bdbb432adfc.tar.zst
feat: add customizable tag styles (#2312)
* feat: add customizable tag styles * add tag lang setting * ui settings cleanup * fix migration * change look of the field * more fixes * fix tests
Diffstat (limited to 'packages/db/schema.ts')
-rw-r--r--packages/db/schema.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/db/schema.ts b/packages/db/schema.ts
index ae7c3103..8b0385c3 100644
--- a/packages/db/schema.ts
+++ b/packages/db/schema.ts
@@ -83,6 +83,18 @@ export const users = sqliteTable("user", {
autoSummarizationEnabled: integer("autoSummarizationEnabled", {
mode: "boolean",
}),
+ tagStyle: text("tagStyle", {
+ enum: [
+ "lowercase-hyphens",
+ "lowercase-spaces",
+ "lowercase-underscores",
+ "titlecase-spaces",
+ "titlecase-hyphens",
+ "camelCase",
+ "as-generated",
+ ],
+ }).default("lowercase-hyphens"),
+ inferredTagLang: text("inferredTagLang"),
});
export const accounts = sqliteTable(