Last active
April 26, 2019 13:48
-
-
Save arnaudbesnier/02da2220f196f7ae01bf51a60b0a155c to your computer and use it in GitHub Desktop.
SchemaSpy setup & usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install graphviz --with-librsvg --with-pango | |
# dowload https://github.com/schemaspy/schemaspy/releases/download/v6.0.0-rc1/schemaspy-6.0.0-rc1.jar | |
# download https://jdbc.postgresql.org/download.html | |
java -jar schemaspy-6.0.0-rc1.jar -t pgsql -db dbname -host localhost:5435 -u username -p ************ -o ./schemaspy -dp postgresql-9.4.1208.jre6.jar -s public -noads |
For forest local database:
java -jar schemaspy-6.0.0-rc1.jar -t pgsql -db forest -host localhost:5435 -u forest -p secret -o ./schemaspy -dp postgresql-42.2.1.jar -s public -noads
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To split the generated PNG: