Today we’re releasing PgDesigner — a visual PostgreSQL schema designer built for teams that treat their database schema as seriously as their application code.

Every PostgreSQL team faces the same challenges:
PgDesigner addresses all three: a visual ERD editor that generates production-ready SQL, compares schemas with hazard detection, and validates with 75 lint rules.
We’re the only tool that combines all four:
No other tool has all four. pgModeler has 3/4 (no hazard detection, poor git diffs). DrawDB has 1/4 (visual only). Atlas has 2/4 (no visual editor, multi-database abstraction).
Visual ERD Canvas — drag tables, zoom, auto-arrange. Tested on 120+ tables. Click to edit columns, constraints, indexes. Create FK by clicking two tables.
DDL Generation — 15-phase topological sort. FK always after tables. Materialized views sorted by inter-dependencies. 99.7% round-trip fidelity on 630+ tables across 6 real databases.
Diff & ALTER Engine — compare old.pgd vs new.pgd → safe ALTER SQL. Hazard detection: DELETES_DATA, TABLE_REWRITE, TABLE_RECREATE, BACKFILL_REQUIRED, DETACH_PARTITION, REATTACH_PARTITION. Compatible cast detection (varchar widening, integer → bigint).
75 Lint Rules — 32 errors (structural integrity), 21 warnings (best practices), 13 info (antipatterns). 15 rules with one-click autofix. Missing FK index? Click fix. char(n) column? Auto-convert to text.
Sample Data Generator — FK-aware topological sort, 30 name heuristics (email → realistic email, price → 29.99), seeded reproducibility. Circular FK handling via deferred UPDATE.
Import from anywhere — MicroOLAP .pdd, DbSchema .dbs, Toad .dm2, plain SQL, live PostgreSQL via pg_catalog introspection.
CLI for CI/CD — pgdesigner lint, diff, generate, testdata, convert. Single binary, zero dependencies. Exit code 1 on lint errors — block merges with broken schemas.
Free for non-commercial use — forever. All features, no time limit, no feature gates.
Commercial licenses start at $19 one-time for individuals. That’s less than a lunch with your team, and less than half what pgModeler charges.
This is v1.0. Here’s what’s planned:
We’d love your feedback. Try it, break it, tell us what’s missing.