从postgresql数据库模式创建er图的工具
pg-diagram的Python项目详细描述
pg_图
为postgresql创建Entity-relationship diagrams的工具
安装
- 安装Graphviz
pip install pg-diagram
使用量
pg_diagram --format svg -o diagram.svg schema.sql
# or feed output of pg_dump pg_dump --schema-only mydb | pg_diagram -o mydb.png -