db: run 0032/0033 via journal + add TutorialVideos table
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-02-14 01:21:07 +08:00
parent 7f59743551
commit 1e3a99855f
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,13 @@
CREATE TABLE IF NOT EXISTS "TutorialVideos" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"title" varchar(128) NOT NULL,
"videoUrl" text NOT NULL,
"coverUrl" text,
"description" text,
"order" integer NOT NULL DEFAULT 0,
"isEnabled" boolean NOT NULL DEFAULT true,
"createdAt" timestamp DEFAULT now() NOT NULL,
"updatedAt" timestamp DEFAULT now() NOT NULL,
"createdBy" uuid REFERENCES "User"("id")
);

View File

@ -127,6 +127,20 @@
"when": 1769257800000,
"tag": "0031_add_google_oauth_settings",
"breakpoints": true
},
{
"idx": 18,
"version": "7",
"when": 1771003238796,
"tag": "0032_add_site_banner_and_canvas_settings",
"breakpoints": true
},
{
"idx": 19,
"version": "7",
"when": 1771003238797,
"tag": "0033_create_tutorial_videos",
"breakpoints": true
}
]
}