mirror of
https://github.com/xgi/castero
synced 2024-11-10 15:28:45 +01:00
Use ep_id as primary key in progress
This commit is contained in:
parent
303b4a2ea8
commit
07cd3f7fb2
@ -1,8 +1,7 @@
|
||||
PRAGMA user_version=4;
|
||||
|
||||
create table progress (
|
||||
id integer primary key,
|
||||
ep_id integer primary key,
|
||||
time integer,
|
||||
ep_id integer UNIQUE,
|
||||
FOREIGN KEY (ep_id) REFERENCES episode(id) ON DELETE CASCADE
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user