Open a deploy request for schema changes

deploy requests

// what it does

Opens a deploy request — a pull request for your database — proposing the branch's schema changes into its parent (usually main). From here the change gets linted, diffed, reviewed, and deployed as a zero-downtime online migration.

// shell

$ pscale deploy-request create mydb add-users-table
$ pscale deploy-request create mydb add-users-table --notes 'adds users table for auth'

// gotcha

Deploy requests are a Vitess (MySQL) feature; Postgres branches currently apply schema changes directly. The DR carries schema only — never data — and the target production branch needs safe migrations enabled for the full workflow.

// resources