aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db
diff options
context:
space:
mode:
Diffstat (limited to 'packages/db')
-rw-r--r--packages/db/schema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/db/schema.ts b/packages/db/schema.ts
index 0a30cf59..94467c56 100644
--- a/packages/db/schema.ts
+++ b/packages/db/schema.ts
@@ -156,7 +156,7 @@ export const tagsOnBookmarks = sqliteTable(
attachedAt: integer("attachedAt", { mode: "timestamp" }).$defaultFn(
() => new Date(),
),
- attachedBy: text("attachedBy", { enum: ["ai", "human"] }),
+ attachedBy: text("attachedBy", { enum: ["ai", "human"] }).notNull(),
},
(tb) => ({
pk: primaryKey({ columns: [tb.bookmarkId, tb.tagId] }),