From fa6609eea9eda75386136aa8da40fd6f6e5d5551 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Wed, 7 Aug 2024 22:12:53 +0200 Subject: [PATCH] Fix migrations --- transcoder/migrations/000001_init_db.up.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/transcoder/migrations/000001_init_db.up.sql b/transcoder/migrations/000001_init_db.up.sql index c3c53a3f..30b983b6 100644 --- a/transcoder/migrations/000001_init_db.up.sql +++ b/transcoder/migrations/000001_init_db.up.sql @@ -49,7 +49,6 @@ create table audios( create table subtitles( sha varchar(40) not null references info(sha) on delete cascade, - -- Can be null when is_external is true idx integer not null, title varchar(1024), language varchar(256), @@ -68,7 +67,7 @@ create table chapters( start_time real not null, end_time real not null, name varchar(1024), - type chapter_type + type chapter_type, constraint chapter_pk primary key (sha, start_time) );