Schema Sketch reads your migration files and prints a diagram of tables, columns, indexes and foreign keys. It works from the migrations rather than a live connection, so it runs in CI without a database.
The output is deterministic, which means a pull request that changes the schema also shows the schema change.
- Tables, columns, indexes and foreign keys
- SVG and Mermaid output
- Deterministic ordering for clean diffs
- Runs without a database connection