Initialize the branches collection with seat data from the original SQL schema
CS, EC, EE, ME, CE, ATallow read, write: if true during development| Branch ID | Full Name | Govt | Donor | SNQ | Total |
|---|---|---|---|---|---|
| TOTAL | |||||
This will create/overwrite 6 documents in the branches Firestore collection.
Go to Firebase Console β Firestore β Create collection branches with these documents:
// Document ID: CS β government_seats:29, donor_seats:2, snq_seats:5, order:1 // Document ID: EE β government_seats:57, donor_seats:2, snq_seats:5, order:2 // Document ID: ME β government_seats:59, donor_seats:2, snq_seats:5, order:3 // Document ID: EC β government_seats:58, donor_seats:2, snq_seats:5, order:4 // Document ID: CE β government_seats:63, donor_seats:2, snq_seats:5, order:5 // Document ID: AT β government_seats:54, donor_seats:2, snq_seats:5, order:6