Home / Companies / Supabase / Blog / Post Details
Content Deep Dive

How a new branch gets its config, migrations, and functions

Blog post from Supabase

Post Details
Company
Date Published
Author
-
Word Count
1,679
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

Supabase branches operate as independent projects that become ready after configuration, database schema migrations, and Edge Function deployment are completed, typically in parallel and usually within about 20 seconds. GitHub-connected branches use configuration files, migrations, seeds, and functions from the associated repository branch, while gitless branches derive schema and functions from the main Supabase project. Branch setup copies most project settings, including Postgres, Auth, API, Realtime, Storage, SSL, and network controls, while excluding Auth secrets; configuration is optimized to minimize restarts and repository settings can override copied settings. Git-based workflows run sequential cloning, pulling, health checks, configuration, migrations, seeding, and deployment on each push, whereas gitless branches use a shorter pull-and-migrate process. Migrations are applied transactionally per file, preserving atomicity and detailed error reporting, while Edge Functions are copied initially and later redeployed only when their compressed bundles or JWT settings change. Workflow statuses indicate progress, warnings, successes, and failures, with dependent steps halted after critical failures, and branch logs in the dashboard provide troubleshooting details.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 5 1,356 312 102 -34%
Real-time 2 2,099 584 184 -56%
Edge Computing 1 100 27 9 +12%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.