doctor when setup behaves unexpectedly or before adding supaschema to CI.
The command checks the local environment and prints pass/fail results with remediation hints.
Use this when
- The config file was edited.
- Database URL resolution is unclear.
- A local or CI database should be checked for reachability.
verify,migrations, orsynccannot find the expected target.
Run it
Flags
Database URL to probe. Defaults to normal database URL resolution.
Print the doctor report as JSON.
What it checks
- Node.js version and parser loading;
- config presence and validation;
- pending install path confirmation;
- database URL resolution;
- reachability, authentication, and
CREATEDB; - migration history table access;
- declarative schema tree presence.
Related
Config validate
Check config relationships directly.
Setup
Confirm install-time paths and generated output.
Environments
Configure named database URL resolution.
Verify
Use a checked database for apply-twice proof.

