For anyone reading this. you're better learning to use migrations and db pull push from supabase cli.
supabase db execute doesn't work. There's no mention in the supabase docs of it. I am running them with psql instead.
psql "<SUPABASE_DB_URL>" -f roles.sql
psql "<SUPABASE_DB_URL>" -f schema.sql
psql "<SUPABASE_DB_URL>" -f data.sql
For anyone reading this. you're better learning to use migrations and db pull push from supabase cli.
supabase db executedoesn't work. There's no mention in the supabase docs of it. I am running them with psql instead.