feat: almost done

frontend missing yet
This commit is contained in:
2024-11-06 16:19:27 +01:00
parent bcbb02a663
commit a4591aa177
8 changed files with 99 additions and 53 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ where tv_show_id = $1;
-- name: IncreasePopularity :exec
update "tv_show" set popularity = popularity + 1
where id = $1;
where tt_imdb = $1;
-- name: TvShowAverageRating :one
select avg(avg_rating) from "episodes"