Hacker News new | ask | show | jobs
by larkost 2384 days ago
Wouldn't a dump and then diff of the schema into text form accomplish the same thing?
2 comments

It absolutely should, though you might want to have a specific set of questions you ask in an ordered fashion as things like column order might differ between production and development due to data sizes, dropping and recreating dev instead of migration, etc.

None of those things actually being a problem could give you false positives, so you might want some minor shuffling.

Or something a bit more high-level like Migra? https://github.com/djrobstep/migra