Syncing data btw local and cloud project
- Data is never synced
npx supabase migration up
npx supabase db push --localHow is
supabase db pushdifferent fromsupabase migration up --linked?
- Will changes made to old migrations be synced
Apply new migrations to local Supabase
If I change a migration post applying it, the above commands won’t make any changes, it won’t even tell you.
npx supabase db reset would drop all old migrations and reapply all migrations in your migrations folder
Sync migration to remote project
npx supabase migration up --linked - data won’t be synced
npx supabase db push
For a migration tha was alreaady synced if a file