aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db/schema.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-01-12 15:31:30 +0000
committerMohamed Bassem <me@mbassem.com>2025-01-12 15:31:30 +0000
commitb8bd7d7eb27aaaadae728599f64a0874f66196ea (patch)
treed2b9ac7f4324ffe7e1659a7e509635c74c9a1c57 /packages/db/schema.ts
parent1ec21b67df64992bf472fc17bc3842369aa313a7 (diff)
downloadkarakeep-b8bd7d7eb27aaaadae728599f64a0874f66196ea.tar.zst
feat: Support customizing the summarization prompt. Fixes #731
Diffstat (limited to 'packages/db/schema.ts')
-rw-r--r--packages/db/schema.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/db/schema.ts b/packages/db/schema.ts
index 6498545a..9d742b45 100644
--- a/packages/db/schema.ts
+++ b/packages/db/schema.ts
@@ -349,8 +349,8 @@ export const customPrompts = sqliteTable(
.$defaultFn(() => createId()),
text: text("text").notNull(),
enabled: integer("enabled", { mode: "boolean" }).notNull(),
- appliesTo: text("attachedBy", {
- enum: ["all", "text", "images"],
+ appliesTo: text("appliesTo", {
+ enum: ["all_tagging", "text", "images", "summary"],
}).notNull(),
createdAt: createdAtField(),
userId: text("userId")