View the schema of a branch
branches
// what it does
Dumps the full CREATE TABLE statements (or Postgres DDL) of a branch — the quickest way to answer "what does this branch's schema actually look like right now" without connecting a client. --web renders it in the dashboard.
// shell
$ pscale branch schema mydb add-users-table$ pscale branch schema mydb main --web// gotcha
On multi-keyspace Vitess databases pass --keyspace, and on Postgres use --namespace to scope to a schema — otherwise you get the default scope only.