Deploy the schema change
deploy requests
// what it does
Executes the deploy request as an online migration: Vitess builds a shadow table with the new schema, backfills while replicating live writes, then swaps atomically. Millions of rows migrate with no locks and no downtime. --wait blocks until the swap completes.
// shell
$ pscale deploy-request deploy mydb 12$ pscale deploy-request deploy mydb 12 --wait// gotcha
Large tables take time to backfill — the deploy is safe but not instant, and it queues behind other running deploys. Watch progress with deploy-request show, and don't panic at a long-running deploy; that's the design.