db: run 0032/0033 via journal + add TutorialVideos table
This commit is contained in:
parent
7f59743551
commit
1e3a99855f
13
lib/db/migrations/0033_create_tutorial_videos.sql
Normal file
13
lib/db/migrations/0033_create_tutorial_videos.sql
Normal 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")
|
||||
);
|
||||
|
||||
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user