pocin
04/03/2022, 2:43 PMpsql -f schema.sql
against freshly started supabase instance
2.2) run a supabase db changes
with 2.1 against a supabase with all existing migrations to get a diff
2.3) (check diff + update where necessary) apply diff to production to end up with a same state as in 2.1
currently when you run supabase start
it seems to run all existing migrations so i can't easily execute 2.1) and i have to essentially hand write my migrations.
Or is the intended workflow the other way around and i should not maintain a hand written schema.sql
but instead do pg_dump
of the final database to get it? But this would still mean i have to hand write migrations or do manual changes to the database (i prefer to do it in code).Needle
04/03/2022, 2:43 PM/title
command!
We have solved your problem?
Click the button below to archive it.pocin
04/03/2022, 2:45 PM