This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Mohawk Tribe Directory - Roster Seed (v2, single-block for Supabase) | |
| -- Run AFTER 0001_initial_schema.sql | |
| -- Everything runs inside one DO block so Supabase can't split it. | |
| do $$ | |
| declare | |
| fid uuid; | |
| begin | |
| -- ALHADEFF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- ============================================================================= | |
| -- Mohawk Tribe Directory — Roster Seed | |
| -- Run AFTER 0001_initial_schema.sql | |
| -- Pastes into Supabase SQL editor. | |
| -- Seeds: families + daughters (no auth.users dependency). | |
| -- Profiles (dads) are created when each dad accepts their magic-link invite. | |
| -- ============================================================================= | |
| -- Temporary mapping table to track family UUIDs by last name key. | |
| -- Drop it after seeding if you want. |