Repository navigation
v0.11.0
·
65 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
erdify 0.11.0
Generate ERDs straight from SQL — no database required.
Added
- SQL DDL frontend via the optional
erdify[sql]extra (powered by sqlglot): point erdify at.sqlfiles and get an ERD, with no database connection.Parsespip install erdify[sql] erdify schema.sql --format mermaid erdify ./db --include '*.sql' --sql-dialect postgres -o erd.pumlCREATE TABLE(columns, types,NOT NULL/DEFAULT, primary keys incl. composite), foreign keys (inlineREFERENCES, table-level, andALTER TABLE ... ADD CONSTRAINT, composite-aware), many-to-many link tables,CREATE TYPE ... AS ENUM(Postgres), andCREATE INDEX(JSON output only). Unmodeled statements are skipped, so dumps parse cleanly.- New
--sql-dialectflag /sql_dialectin[tool.erdify]. inputnow accepts a file as well as a directory.
- New
Compatibility
Additive and opt-in. The core install stays zero-dependency — sqlglot is pulled in only by erdify[sql] and imported lazily. No change for existing users.
Full changelog: https://github.com/devsuit-berlin/erdify/blob/main/CHANGELOG.md