]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/migrations/0535-video-live.ts
Check live duration and size
[github/Chocobozzz/PeerTube.git] / server / initializers / migrations / 0535-video-live.ts
index 35523efc4adaddcc27555a81974074c045032cce..7501e080b12d094893d65633c9cdab29f758ae0a 100644 (file)
@@ -9,7 +9,7 @@ async function up (utils: {
     const query = `
     CREATE TABLE IF NOT EXISTS "videoLive" (
       "id"   SERIAL ,
-      "streamKey" VARCHAR(255) NOT NULL,
+      "streamKey" VARCHAR(255),
       "videoId" INTEGER NOT NULL REFERENCES "video" ("id") ON DELETE CASCADE ON UPDATE CASCADE,
       "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL,
       "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL,