summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/db/schema.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-06-22 13:21:03 +0200
committerMaze Winther <mazewinther@gmail.com>2025-06-22 13:21:03 +0200
commitfaca97f1ae1ba870673347f98557191fcd5c123a (patch)
tree4c245e85f07677bb8545dd4068bca1b156e853d6 /apps/web/src/lib/db/schema.ts
parentceb253f5853e5f8f813b970c09cc5edceb6f9727 (diff)
downloadopencut-faca97f1ae1ba870673347f98557191fcd5c123a.tar.gz
add upstash rate limiting
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 02df5d4a..7c38724a 100644
--- a/apps/web/src/lib/db/schema.ts
+++ b/apps/web/src/lib/db/schema.ts
@@ -59,3 +59,11 @@ export const verifications = pgTable("verifications", {
() => /* @__PURE__ */ new Date()
),
}).enableRLS();
+
+export const waitlist = pgTable("waitlist", {
+ id: text("id").primaryKey(),
+ email: text("email").notNull().unique(),
+ createdAt: timestamp("created_at")
+ .$defaultFn(() => /* @__PURE__ */ new Date())
+ .notNull(),
+}).enableRLS();