Finally finished the massive refactor... transitions still broke but it's fine for now.

This commit is contained in:
2018-10-28 11:23:51 +11:00
parent 8cf714500c
commit d5d0c7edd2
36 changed files with 397 additions and 531 deletions

View File

@ -0,0 +1,10 @@
SELECT
*
FROM
"Teams"
INNER JOIN
"TeamUsersSeasons" ON "TeamUsersSeasons"."teamId" = "Teams"."id"
WHERE
"TeamUsersSeasons"."userId" = ${userId} AND
"TeamUsersSeasons"."seasonId" = ${seasonId}
LIMIT 1;