Save player choice when updating episode.

This commit is contained in:
2019-03-02 16:19:05 +01:00
parent 41ee32646c
commit ef6f506111
4 changed files with 93 additions and 17 deletions

View File

@@ -78,11 +78,16 @@ create unique index if not exists episode_id_uindex
create table if not exists episode_player
(
link_id integer not null
constraint episode_player_pk
primary key autoincrement,
episode_id integer not null
constraint episode_player_episode_id_fk
references episode,
references episode,
player_id integer not null
constraint episode_player_player_id_fk
references player
references player
);
create unique index if not exists episode_player_link_id_uindex
on episode_player (link_id);