Spotting Schema Drift in pg_dump, Migrations & Refactored Queries
Before running production database migrations, comparing `pg_dump --schema-only` output from staging against production catches forgotten NOT NULL constraints, widened VARCHAR limits, dropped foreign keys, or changed composite index column ordering. Enabling Ignore Case and Ignore Whitespace ensures cosmetic SQL style changes from ORM generators never mask a destructive schema diff.
For complex reporting queries, side-by-side comparison makes altered JOIN conditions, WHERE predicates, and window functions immediately visible during code reviews—without exposing proprietary table names or business logic to any external server.
- Case & Whitespace ControlIgnore Case defaults on so SELECT vs select or varchar vs VARCHAR never distract from structural column changes
- Dialect NeutralWorks cleanly on PostgreSQL pg_dump --schema-only, MySQL mysqldump, SQLite, Snowflake, and BigQuery SQL
- Local PrivacyZero server uploads—audit internal table structures, column constraints, and reporting queries completely offline
Should I turn Ignore Case off when comparing quoted PostgreSQL identifiers?
Yes. Unquoted SQL keywords and identifiers are case-insensitive in ANSI SQL, but if your schema relies on double-quoted mixed-case identifiers ("userId"), toggle Ignore Case off.
Does this require connecting to my database?
No. Simply paste DDL dumps or migration SQL text directly into the left and right panes—everything runs locally in your browser.
Need to generate SQL CREATE TABLE and INSERT statements from JSON first?
Use our JSON to SQL generator to turn JSON arrays into PostgreSQL, MySQL, or SQLite scripts.