Supabase database branching is now generally available

Supabase
Some links on this page may be affiliate links. We only cover tools we genuinely recommend. Learn more.

Database branching has been one of the most requested features in modern development workflows. The idea is simple: just like you branch code in Git, you should be able to branch your database so each feature gets its own isolated environment with real schema and test data. Supabase branching delivers this, and the GA release fixes the rough edges that held back the beta.

The workflow is now smooth. Open a pull request, and Supabase automatically creates a database branch with your current schema and seeded data. Your preview deployment connects to this branch, so reviewers can test against realistic data. When the PR merges, Supabase applies the schema migrations to your main database. If there are conflicts, it surfaces them clearly rather than silently breaking things.

The GA release adds three features that were missing from the beta: branch-level environment variables (so each branch can have its own API keys and configs), full support for database triggers and functions (which were previously stripped from branches), and automatic cleanup that deletes branches when their associated PR is closed. For teams that have been manually managing staging databases or sharing a single dev database, this is a significant quality-of-life improvement.

Founder Takeaway

If your team shares a development database and steps on each other's toes, Supabase branching gives each developer an isolated database per PR.

Related tools

Supabase review and pricing
← More News