Generating database diagrams for schema analysis

If you want to analyse a database, understand relations between its tables etc., you can use this tool : schemaspy

Example usage:

Creating openerp database diagrams

  1. Download schemaspy from :
  2. It used to have dependency on Graphviz, so you may also have to install graphviz :
  3. command to execute the jar :

    java -jar schemaSpy_5.0.0.jar -t pgsql  -db openerp -s public -u openerp -p <password> -host <host> -o <output dir> -dp <path-to-the-db-driver>

More info on the parameters can be found at




The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)