Promote a branch to production
branches
// what it does
Upgrades a branch to a production branch: highly available, automatically backed up daily, and protected by safe migrations (on Vitess). Typical flow — create the database, shape the initial schema on main, then promote main before real traffic arrives.
// shell
$ pscale branch promote mydb main// gotcha
Promotion alone isn't enough for the deploy-request workflow — enable safe migrations on the branch too, or deploy requests can't deploy schema changes into it. Production branches are billed at production rates and must be demoted before deletion.