pgModeler is an open-source PostgreSQL data-modeling desktop tool for visually designing schemas and generating production-ready DDL scripts.