summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/db/schema.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-14 21:45:11 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-14 21:45:11 +0200
commit78a0a27a72e5e6c3d349abe2cb28ce6cd1e64d83 (patch)
tree1b21aa4493f79df1560e7d89aaad2d55ee6c33a9 /apps/web/src/lib/db/schema.ts
parentb68bf004549e08ae81f99c9ece15fd7e7969c385 (diff)
downloadopencut-78a0a27a72e5e6c3d349abe2cb28ce6cd1e64d83.tar.gz
feat: editor feedback
Diffstat (limited to 'apps/web/src/lib/db/schema.ts')
-rw-r--r--apps/web/src/lib/db/schema.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/web/src/lib/db/schema.ts b/apps/web/src/lib/db/schema.ts
index 88d71191..8f8be248 100644
--- a/apps/web/src/lib/db/schema.ts
+++ b/apps/web/src/lib/db/schema.ts
@@ -48,6 +48,14 @@ export const accounts = pgTable("accounts", {
updatedAt: timestamp("updated_at").notNull(),
}).enableRLS();
+export const feedback = pgTable("feedback", {
+ id: text("id").primaryKey(),
+ message: text("message").notNull(),
+ createdAt: timestamp("created_at")
+ .$defaultFn(() => new Date())
+ .notNull(),
+});
+
export const verifications = pgTable("verifications", {
id: text("id").primaryKey(),
identifier: text("identifier").notNull(),