Closed craigkai closed 11 months ago
What will session id be used for in this table?
Session isn't like a web session but instead a "season" where a session can be a few weeeks long of week play
Ah I see, thanks for the explanation.
Results -- This needs some thought, do we make this a JSON blob?
IMO, JSON blob should be used for variable data sets. If you know the columns you want to store for results, it's usually always better to just create the table with those columns.
Results -- This needs some thought, do we make this a JSON blob?
IMO, JSON blob should be used for variable data sets. If you know the columns you want to store for results, it's usually always better to just create the table with those columns.
Yeah I agree, it just feels odd to have a "team1" and "team2" col
Yeah I agree, it just feels odd to have a "team1" and "team2" col
Is there more data to capture for the teams, like home and away? Or is this just to literally capture 2 different teams? Were you thinking something like an array with 2 members to store the team ids?
How do you think this data will be used is probably a better question to define what it should look like.
This should be a database table that stores games played it should have:
This can be done via the Supabase UI.