feat: add waitlist table and migration for tracking user signups

This commit is contained in:
Maze Winther
2025-06-23 16:44:07 +02:00
parent 054c68140c
commit 2cad7f9c3c
3 changed files with 373 additions and 0 deletions

View File

@ -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;