trending
•

3d ago

dbdiff - Compare database schemas and review migration SQL

A free, MIT-licensed Rust CLI for comparing database schemas. It supports PostgreSQL, MySQL/MariaDB and SQLite, plus SQL schema files. Inspect schema drift, export structured output and use a nonzero exit code in CI when schemas differ. dbdiff generates migration SQL with locking warnings for review; it does not execute migrations. The demo compares two synthetic SQL files.