db-migrate-diff is an extension for db-migrate that allows you to compare database schema differences, export them into SQL dumps, and track changes over time using Git or other version control tools.
- Extend db-migrate to compare differences between database states.
- Support PostgreSQL engine.
- Export schema into SQL dump for tracking.
(Not in priority order β contributions welcome!)
- Auto-comment the differences for easier review (e.g., in GitHub PRs).
- Support custom migration tools (by providing
migration upcommand and target DB engine). - Support more database engines: MySQL, SQLite3, MongoDB, etc.
- Export schemas into DBML and potentially other formats.
- Visualize the differences in a user-friendly way.
gitβ Used to track schema differences over time.