From 81e0b2849d837649da9adbc5d077b8c819fe7bee Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Mon, 15 Apr 2024 18:39:59 +0100 Subject: feature: Add title to bookmarks and allow editing them. Fixes #27 --- packages/db/schema.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/db/schema.ts') diff --git a/packages/db/schema.ts b/packages/db/schema.ts index 6a541a0a..6a7128c0 100644 --- a/packages/db/schema.ts +++ b/packages/db/schema.ts @@ -104,6 +104,7 @@ export const bookmarks = sqliteTable( .primaryKey() .$defaultFn(() => createId()), createdAt: createdAtField(), + title: text("title"), archived: integer("archived", { mode: "boolean" }).notNull().default(false), favourited: integer("favourited", { mode: "boolean" }) .notNull() -- cgit v1.2.3-70-g09d2