Install graphviz
sudo brew install graphviz
Open SequelPro, choose database and export dot
file. Now, run the command:
dot -Tsvg your_database.dot > your_database.svg
It's possible export to png
and jpg
too, change -Tsvg
and .svg
by respective formats.
Source: https://www.norbauer.com/rails-consulting/notes/erd-diagrams-from-sequel-pro.html
Awesome