docker compose, and no separate dashboard server to restart in sequence.
Standard upgrade process
1
Back up first
Use Supabase’s own backup tooling (point-in-time recovery, or a manual
pg_dump against your project) before applying new migrations. See Backups and Recovery for the exact commands against a Supabase-hosted database.2
Pull the latest source
3
Apply new migrations
Migrations are plain SQL files under
supabase/migrations/, applied in order and safe to re-run:4
Redeploy the function
Client SDK version compatibility
The edge function’s request/response contract is additive — new optional fields, not breaking renames — so an older SDK continues to work against a freshly upgraded function. The reverse is not guaranteed: upgrade the server before upgrading client SDKs.Troubleshooting a failed migration
Ifsupabase db push fails partway through:
supabase functions deploy prints the Deno compile error directly — there is no separate log stream to correlate, since the deploy step and the runtime are the same artifact.