Add ability to watch an episode
- Migration for new backing table. - CRUD server functions, new components to display and interact.
This commit is contained in:
parent
75e388555b
commit
b2e55008dd
11 changed files with 317 additions and 43 deletions
1
sql/insert_viewing.sql
Normal file
1
sql/insert_viewing.sql
Normal file
|
@ -0,0 +1 @@
|
|||
insert into viewing (series_id, season, episode, "comment") values ($1, $2, $3, $4);
|
3
sql/select_viewings.sql
Normal file
3
sql/select_viewings.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
select *
|
||||
from viewing
|
||||
where series_id = $1;
|
Loading…
Add table
Add a link
Reference in a new issue