summaryrefslogtreecommitdiff
path: root/apps/web/migrations/0001_tricky_jackpot.sql
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-06-23 16:44:07 +0200
committerMaze Winther <mazewinther@gmail.com>2025-06-23 16:44:07 +0200
commit2cad7f9c3cc8fd119c1d7940851343b02f2175dc (patch)
treef56d48136af97eb4fd80c41559b120323d3064e6 /apps/web/migrations/0001_tricky_jackpot.sql
parent054c68140c874ce7e42ad9a36f74867f5b01a239 (diff)
downloadopencut-2cad7f9c3cc8fd119c1d7940851343b02f2175dc.tar.gz
feat: add waitlist table and migration for tracking user signups
Diffstat (limited to 'apps/web/migrations/0001_tricky_jackpot.sql')
-rw-r--r--apps/web/migrations/0001_tricky_jackpot.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/web/migrations/0001_tricky_jackpot.sql b/apps/web/migrations/0001_tricky_jackpot.sql
new file mode 100644
index 00000000..6eaeb56e
--- /dev/null
+++ b/apps/web/migrations/0001_tricky_jackpot.sql
@@ -0,0 +1,8 @@
+CREATE TABLE "waitlist" (
+ "id" text PRIMARY KEY NOT NULL,
+ "email" text NOT NULL,
+ "created_at" timestamp NOT NULL,
+ CONSTRAINT "waitlist_email_unique" UNIQUE("email")
+);
+--> statement-breakpoint
+ALTER TABLE "waitlist" ENABLE ROW LEVEL SECURITY; \ No newline at end of file