aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations/0535-video-live.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/migrations/0535-video-live.ts')
-rw-r--r--server/initializers/migrations/0535-video-live.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/migrations/0535-video-live.ts b/server/initializers/migrations/0535-video-live.ts
index 35523efc4..7501e080b 100644
--- a/server/initializers/migrations/0535-video-live.ts
+++ b/server/initializers/migrations/0535-video-live.ts
@@ -9,7 +9,7 @@ async function up (utils: {
9 const query = ` 9 const query = `
10 CREATE TABLE IF NOT EXISTS "videoLive" ( 10 CREATE TABLE IF NOT EXISTS "videoLive" (
11 "id" SERIAL , 11 "id" SERIAL ,
12 "streamKey" VARCHAR(255) NOT NULL, 12 "streamKey" VARCHAR(255),
13 "videoId" INTEGER NOT NULL REFERENCES "video" ("id") ON DELETE CASCADE ON UPDATE CASCADE, 13 "videoId" INTEGER NOT NULL REFERENCES "video" ("id") ON DELETE CASCADE ON UPDATE CASCADE,
14 "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, 14 "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL,
15 "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL, 15 "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL,