diff options
Diffstat (limited to 'packages/db/schema.ts')
| -rw-r--r-- | packages/db/schema.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/db/schema.ts b/packages/db/schema.ts index c112b075..f80a41b7 100644 --- a/packages/db/schema.ts +++ b/packages/db/schema.ts @@ -168,6 +168,18 @@ export const bookmarks = sqliteTable( type: text("type", { enum: [BookmarkTypes.LINK, BookmarkTypes.TEXT, BookmarkTypes.ASSET], }).notNull(), + source: text("source", { + enum: [ + "api", + "web", + "extension", + "cli", + "mobile", + "singlefile", + "rss", + "import", + ], + }), }, (b) => [ index("bookmarks_userId_idx").on(b.userId), |
