Hacker News new | ask | show | jobs
by keeganj 1879 days ago
Will give this a try! With all the UML discussions lately it's made me nostalgic for having an ER diagram of my schema. This even looks simple / dependency free enough to run in a CI tool to keep such a diagram up to date with the codebase.
1 comments

We use planter in our build process to maintain an up-to-date visualization of the schema. Given that foreign key references are maintained in the schema (using REFERENCES), planter draws all relationships properly.

The Plant UML CLI itself has some limitations if the ER diagram is really large.