aboutsummaryrefslogtreecommitdiffstats
path: root/packages/db/schema.ts
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-02 11:00:21 +0000
committerMohamedBassem <me@mbassem.com>2024-03-02 11:00:21 +0000
commite5bedae5eaad8ed377e7d9b689815dbd55fdb523 (patch)
tree48469f5f921df0fe9776b573c955382866830986 /packages/db/schema.ts
parent42306591168d047d099ac8592111ecb56772c00c (diff)
downloadkarakeep-e5bedae5eaad8ed377e7d9b689815dbd55fdb523.tar.zst
feature: Show a loading indicator when tags are still being fetched
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 15ef5ae6..12cdd850 100644
--- a/packages/db/schema.ts
+++ b/packages/db/schema.ts
@@ -108,6 +108,9 @@ export const bookmarks = sqliteTable("bookmarks", {
userId: text("userId")
.notNull()
.references(() => users.id, { onDelete: "cascade" }),
+ taggingStatus: text("taggingStatus", {
+ enum: ["pending", "failure", "success"],
+ }).default("pending"),
});
export const bookmarkLinks = sqliteTable("bookmarkLinks", {