From 2cad7f9c3cc8fd119c1d7940851343b02f2175dc Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Mon, 23 Jun 2025 16:44:07 +0200 Subject: feat: add waitlist table and migration for tracking user signups --- apps/web/migrations/0001_tricky_jackpot.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apps/web/migrations/0001_tricky_jackpot.sql (limited to 'apps/web/migrations/0001_tricky_jackpot.sql') 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 -- cgit v1.3.1