Lint a branch's schema for errors
branches
// what it does
Runs PlanetScale's schema linter against a branch, catching problems like missing primary keys, invalid defaults, or charset issues before they reach a deploy request. Wire it into CI as a cheap early gate.
// shell
$ pscale branch lint mydb add-users-table// gotcha
Deploy requests lint automatically anyway — the value of linting the branch directly is failing fast in CI before a human ever reviews the DR.