Schema comparison and migration planner
Compare current → desired PostgreSQL definitions and work through a migration review checklist. Everything stays in your browser.
Export format and comparison scope
Use two plain-text schema-only exports, for example pg_dump --schema-only --no-owner --no-privileges database > schema.sql. Omit those last two options if ownership and grants are part of your comparison. Use consistent dump versions and filters. Custom-format archives and migration histories are not final-state schema snapshots.
Parsed tables, columns, constraints and indexes receive structural differences. The complete token-normalized changed-statement list also exposes views, routines, types, sequences, privileges, policies and other SQL. Comments and whitespace outside strings are ignored; SQL bodies and string contents remain significant. Text changes can represent equivalent SQL and require review.
The dependency order covers parsed foreign keys, partitions and inheritance. Review external objects, types, views, routines, triggers and application dependencies against the catalog. Renames are shown as additions/removals; they are not guessed. The output is a checklist, not executable migration SQL.
Prepared export
Current → desired
Coverage and interpretation
Modeled changes
Migration review checklist
Phases guide review; they do not establish a complete execution order. Dependencies outside parsed table relationships need catalog verification. Checkmarks live in this page session and are included in exports.
Complete changed-statement evidence
These are SQL records removed from or added to the exports after token normalization. They include modeled differences and unmodeled catalog areas. They are reference definitions, not migration instructions.