Skip to content

A tool to convert postgresql schema to ER diagram

License

Notifications You must be signed in to change notification settings

qweeze/pg_diagram

Repository files navigation

pg_diagram

PyPI version

A tool for creating Entity-relationship diagrams for PostgreSQL

Installation

  • install Graphviz
  • pip install pg-diagram

Usage

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 -

Sample output

diagram image

About

A tool to convert postgresql schema to ER diagram

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages