Saving schema changes to migration file in backup docs (#30901)

added -f flag to diff on backup
This commit is contained in:
David authored and GitHub committed 2024-12-04 17:45:22 +00:00
1 parent 722df8535f
commit b623a4c403
1 file changed
+1 -1
@@ -131,7 +131,7 @@ If you have any Supabase containers running locally, stop them and delete their
Remember to save any local schema and data changes before stopping because the `--no-backup` flag will delete them.
```sh
supabase db diff my_schema
supabase db diff -f my_schema
supabase db dump --local --data-only > supabase/seed.sql
supabase stop --no-backup
```