| What it is | Zero-downtime, reversible schema migrations for Postgres | An easy-to-use, zero-downtime schema migration tool for Postgres | Terraform-style declarative schema migrations for PostgreSQL: dump, edit, plan, apply | Idempotent schema management in plain SQL for MySQL, PostgreSQL, SQLite and SQL Server |
| Features | - Zero-downtime migrations without blocking locks
- Old and new schema versions served at once
- Automatic column backfills
- Instant rollback
- Works on existing schemas
- Postgres 14 or later, including RDS and Aurora
| - Zero-downtime migrations through views and triggers
- Old and new schema usable at once
- Abort to roll back without data loss
- Migrations as JSON or TOML
- reshape docs command for coding agents
- Docker image
| - dump a Postgres schema as SQL files
- plan migration DDL by diffing a schema file against the live database
- apply with concurrent change detection and lock timeouts
- row-level security, partitioning, triggers and grants tracked
- no shadow database (embedded Postgres)
- docs for use from a coding agent
| - desired-state schema migrations from a plain SQL file
- MySQL, MariaDB, TiDB, PostgreSQL, SQLite and SQL Server
- export the current schema
- dry run that shows the DDL before applying
- single binary with no dependencies
|