mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-03 04:02:34 +00:00
Add a constraint for subtitles
This commit is contained in:
@@ -57,6 +57,8 @@ create table subtitles(
|
||||
is_forced boolean not null,
|
||||
is_external boolean not null,
|
||||
path varchar(4096)
|
||||
|
||||
constraint subtitle_pk primary key (sha, idx, path)
|
||||
);
|
||||
|
||||
create type chapter_type as enum('content', 'recap', 'intro', 'credits', 'preview');
|
||||
|
||||
Reference in New Issue
Block a user