jjPlusPlus / bringme-react-native

A scavenger hunt game using React Native and MLKit
0 stars 1 forks source link

Update Supabase schema to include Rounds #27

Closed jjPlusPlus closed 11 months ago

jjPlusPlus commented 1 year ago

Overview: In the previous iteration of BringMe, we used a jsonb column in the matches table to store the game state. This made subscribing to match updates easier (in Firebase, anyway). In this Supabase iteration, we will gain more from the benefits of using the relational database. To do this we will be adding a relationship between a Match and a new "Rounds" table.

AC: