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:
Thomas Gideon 2024-09-14 18:33:50 -04:00
parent 75e388555b
commit b2e55008dd
11 changed files with 317 additions and 43 deletions

1
sql/insert_viewing.sql Normal file
View file

@ -0,0 +1 @@
insert into viewing (series_id, season, episode, "comment") values ($1, $2, $3, $4);

3
sql/select_viewings.sql Normal file
View file

@ -0,0 +1,3 @@
select *
from viewing
where series_id = $1;