sqldiff
sqldiff is a set of primitives to load SQL representations in a standardized form (sqldiff::Schema), calculate differences between
schemas (sqldiff::Migration), and generate SQL to apply the migration (sqldiff::Migration::to_sql).
Currently built-in schema sources:
- Postgres
- OpenAPI 3.0 spec
Tools that want to auto-generate migrations should define a way to load their schema into sqldiff::Schema and then use sqldiff to
auto-generate migrations.
Current tools that support this:
If you use this library, submit a PR to be added to this list.
async