ak4zh
01/18/2022, 7:40 AMktosiek
01/18/2022, 8:26 AMsupabase
CLI tool, I think this command (after init and login) should take a snapshot of your database: https://supabase.com/docs/reference/cli/supabase-db-commitktosiek
01/18/2022, 8:26 AMak4zh
01/19/2022, 6:01 AMak4zh
01/19/2022, 6:02 AMktosiek
01/19/2022, 7:29 AM... remote commit
seems to be for applying migrations, not generating them >_>ktosiek
01/19/2022, 7:30 AM... remote set URL
to work with your remote database)ak4zh
01/19/2022, 9:21 AMpython
supabase db remote set 'postgresql://postgres:xxxxxxxxxxxxxxxx@db.xxxxxxxxxxxx.supabase.co:5432/postgres'
supabase db remote commit
ktosiek
01/19/2022, 9:33 AM... remote commit
seems to be for applying migrations. You'll need pg_dump to make the initial migration, and then use a migration tool while developing your application.