Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

zekenie/d2-erd-from-postgres

Repository files navigation

D2 ERD from Postgres

Example

D2 Diagrams are awesome. If you have a postgres database that already exists that you'd like to diagram, you can use this tool to generate an ERD.

Installation

  • Clone this repo
  • npm install

Usage

$ node index postgres://postgres:postgres@localhost:5432/yourdb

You will see that there are 2 gitignored files generated, out.svg and output.d2.

Happy hacking!

About

Create a D2 ERD Diagram from your existing postgres schema

Topics

Resources

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /