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
It works! It looks pretty lame, though. Maybe because of the structure of the database it's working on... But thank you! This helped me avoid installing MySQL Workbench.