aboutsummaryrefslogtreecommitdiff
path: root/apps/web/server
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/server')
-rw-r--r--apps/web/server/db/schema.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/server/db/schema.ts b/apps/web/server/db/schema.ts
index e1b94cf3..26a4f22d 100644
--- a/apps/web/server/db/schema.ts
+++ b/apps/web/server/db/schema.ts
@@ -110,7 +110,7 @@ export const storedContent = createTable(
description: text("description", { length: 255 }),
url: text("url").notNull(),
savedAt: int("savedAt", { mode: "timestamp" }).notNull(),
- baseUrl: text("baseUrl", { length: 255 }),
+ baseUrl: text("baseUrl", { length: 255 }).unique(),
ogImage: text("ogImage", { length: 255 }),
type: text("type").default("page"),
image: text("image", { length: 255 }),