PostgreSQL schema design [closed]
-
12-11-2019 - |
Question
What is your preferred way of designing PostgreSQL schemata? Would you recommend the use of specific graphical design tools or just design the schema on paper and create everything by hand?
Solution
You can also try
for creating ER diagrams.
For managing the DDL scripts, I have good experience with Liquibase and Power Architect can also create the Liquibase XML directly from the ER diagram.
OTHER TIPS
I use the Community Edition of MySQL Workbench for creating pretty pictures of my schema - but I'd rather create the DDL that actually runs on my database by hand.
I mostly use paper or sketch the schema directly in psql prompt.
Many UML tools have DDL-generation (see argouml), but in my experience it's faster to write the schema directly. Then you can test it right away.
Use only in windows unfortunately, EMS SQL Manager is very good
pgModeler licensed under GPL, multiplatform.
Binary installer costs 4$, I think it's worth it.