Install Java
brew cask install java
Download SchemaSpy (original)
wget https://github.com/schemaspy/schemaspy/releases/download/v6.0.0/schemaspy-6.0.0.jar
Download JDBC driver (original)
wget https://jdbc.postgresql.org/download/postgresql-42.2.5.jar
Run SchemaSpy
Note: Remove -rails
and -renderer
if you don't want to generate output images. Speeds it up a lot
java -jar schemaspy-6.0.0.jar -t pgsql -db callrail_development -host localhost -u abhishek -o ./schemaspy -dp postgresql-42.2.5.jar -s public -noads -rails -renderer :cairo
Open output
open schemaspy/index.html