Revert a deployed schema change
deploy requests
// what it does
Rolls back a deployed DR to the previous schema — losslessly, because Vitess keeps old and new schemas in sync during the revert window, including writes that happened after the deploy. This turns a bad migration from an incident into a command.
// shell
$ pscale deploy-request revert mydb 12$ pscale deploy-request skip-revert mydb 12// gotcha
The window is finite: once the DR closes or the retention passes, revert is gone. --instant deploys can't revert at all. If you're keeping the change, run skip-revert to end the window early and release the machinery.