Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

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

Davidb623a4c40381
diff --git a/apps/docs/content/guides/local-development/cli/getting-started.mdx b/apps/docs/content/guides/local-development/cli/getting-started.mdx
index 6319a53ddf5..fa4e927ca85 100644
--- a/apps/docs/content/guides/local-development/cli/getting-started.mdx
+++ b/apps/docs/content/guides/local-development/cli/getting-started.mdx
@@ -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
```