feat: add events table to schema and update SQL migration script

This commit is contained in:
2025-12-07 15:22:00 +00:00
parent df2b9e56b4
commit 93b5e289f3
7 changed files with 220 additions and 8 deletions

View File

@@ -7,12 +7,4 @@ CREATE TABLE "users" (
CONSTRAINT "users_email_unique" UNIQUE("email")
);
CREATE TABLE "events" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"title" varchar(255) NOT NULL,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
"video_url" varchar(255) NOT NULL,
CONSTRAINT "events_url_unique" UNIQUE("url")
)