Legend
- PK primary key · FK foreign key · UQ unique ·
? nullable
- added · removed · changed (types show
old → new)
- Crow's foot = "many" side, bars = "exactly one", circle = optional
- Dotted edges: inferred relations and enum use · dashed edges: view dependencies · lines hop where they cross
- ↗N relations to hidden tables · +NP hidden partitions · … N more columns click to expand
Display
Display ▾ above the diagram holds layout, columns, edges and objects; rarely needed settings sit under Advanced. Everything is remembered per file. View ▾ in the top bar switches between views saved in .schema.json and saves the current one; open a view from the CLI with schema --view NAME.
Export
Export ▾ downloads the diagram (SVG, PNG, standalone HTML) or copies the diff as Markdown, the CLI command that reproduces the view, or its config.
From the command line
schema browses · schema --at origin/feature browses a branch · schema main...feature or schema HEAD~1 compares · schema --design NAME designs.