| What it is | Database migrations as a CLI and Go library | Versioned SQL database migrations for 50+ databases, open source with Redgate's enterprise editions | A lightweight, framework-agnostic database migration tool for plain SQL migrations | Database schema as code: plan, lint, test and apply schema migrations, like Terraform for databases |
| Features | - CLI and Go library
- drivers for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, ClickHouse and more
- migration sources: files, embedded files, GitHub, S3, GCS
- separate up and down migration files
- database given as a connection URL
| - Versioned SQL and Java migrations
- Command-line tool, Java API, Maven and Gradle plugins
- More than 50 supported databases
- Docker image
- Enterprise: policy-as-code checks, drift detection and generated rollback scripts
- Enterprise: audit trail and CI/CD integrations
| - Plain SQL migrations
- Timestamp-versioned migrations
- Each migration in a transaction
- Rollback
- schema.sql export
- Create and drop databases
- Wait for the database
- Go library with embedded migrations
- All 9 features
| - declarative schema migrations from SQL or HCL
- versioned migration files generated from schema changes
- migration linting for data loss, locks and breaking changes
- schema drift detection
- Kubernetes operator and Terraform provider
- ORM integrations
- schema testing framework
|