Skip to content

db show

Print the live database schema as human-readable text, read directly from the database through the configured provider. This is the online counterpart to state show: where that reads the recorded snapshot offline, db show introspects the live database itself, which is useful for seeing the real current schema, or for diffing it against state show.

Terminal window
nschema db show
nschema db show --scope public # limit to specific namespaces
  • -s, --scope <name> — limit the output to specific database schemas (namespaces). May be repeated.