diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-06-23 16:44:07 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-06-23 16:44:07 +0200 |
| commit | 2cad7f9c3cc8fd119c1d7940851343b02f2175dc (patch) | |
| tree | f56d48136af97eb4fd80c41559b120323d3064e6 /apps/web/migrations/0001_tricky_jackpot.sql | |
| parent | 054c68140c874ce7e42ad9a36f74867f5b01a239 (diff) | |
| download | opencut-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.sql | 8 |
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 |
