© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
hausofalejandro

Migrations preserving data

Hello everyone! I'm working with local development as described in the official guide (https://supabase.com/docs/guides/cli/local-development). I'm able to sync my remote and local database in order to make changes in local, test and then push to remote.

But when I perform a db push the data that was in the remote db is lost, and viceversa Is that behavior expected?

Or there's any better way to achieve a migration without data lost? thanks a lot in advance!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Data Update Migrations
SupabaseSSupabase / help-and-questions
2w ago
migrations - schema and data best practise
SupabaseSSupabase / help-and-questions
4y ago
How to seed between migrations, to test your new migrations work on existing data?
SupabaseSSupabase / help-and-questions
5mo ago
DatabaseLackOfConnections
SupabaseSSupabase / help-and-questions
5mo ago