mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Fix migrations
This commit is contained in:
parent
67f6ce308b
commit
fa6609eea9
@ -49,7 +49,6 @@ create table audios(
|
|||||||
|
|
||||||
create table subtitles(
|
create table subtitles(
|
||||||
sha varchar(40) not null references info(sha) on delete cascade,
|
sha varchar(40) not null references info(sha) on delete cascade,
|
||||||
-- Can be null when is_external is true
|
|
||||||
idx integer not null,
|
idx integer not null,
|
||||||
title varchar(1024),
|
title varchar(1024),
|
||||||
language varchar(256),
|
language varchar(256),
|
||||||
@ -68,7 +67,7 @@ create table chapters(
|
|||||||
start_time real not null,
|
start_time real not null,
|
||||||
end_time real not null,
|
end_time real not null,
|
||||||
name varchar(1024),
|
name varchar(1024),
|
||||||
type chapter_type
|
type chapter_type,
|
||||||
|
|
||||||
constraint chapter_pk primary key (sha, start_time)
|
constraint chapter_pk primary key (sha, start_time)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user