diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:21:03 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-22 13:21:03 +0200 |
| commit | faca97f1ae1ba870673347f98557191fcd5c123a (patch) | |
| tree | 4c245e85f07677bb8545dd4068bca1b156e853d6 /apps/web/src/lib/db | |
| parent | ceb253f5853e5f8f813b970c09cc5edceb6f9727 (diff) | |
| download | opencut-faca97f1ae1ba870673347f98557191fcd5c123a.tar.gz | |
add upstash rate limiting
Diffstat (limited to 'apps/web/src/lib/db')
| -rw-r--r-- | apps/web/src/lib/db/schema.ts | 8 |
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();
|
