MigraDiff v1.3.0 – PostgreSQL schema diff with AI migration explanation
Drop-in migra replacement with migrations folder support and AI explanations.
AIM - AI-assisted verified SQL migration generator
Verifies AI-generated migrations against real ephemeral databases before writing them to disk.
Backend developers and DevOps engineers managing database schemas
Liquibase · Flyway · Atlas
From the README:
AIM creates two ephemeral databases: one by loading schema.sql (the desired state), and one by replaying all existing migrations (the current state). It dumps a stable, normalized DDL representation from each.
An LLM reads both schemas and produces UP and DOWN SQL migration statements.
AIM applies the generated UP migration to a fresh ephemeral database and checks that the result exactly matches schema.sql. It then applies DOWN and checks that the original state is restored. If either check fails, AIM feeds the diff back to the LLM and retries.
Drop-in migra replacement with migrations folder support and AI explanations.
SQLAlchemy migration tool, but Alembic already dominates this space completely.
Keeps the abandoned migra tool alive, but Atlas and Flyway already own this space.
AI migration generation for Postgres when migra already does diffs.
Uses PostgreSQL's own parser when sqldef hits parsing limits.
Query-as-pipeline is neat, but Fivetran and Airbyte already own this space.