golang-migrate
6.4#13 in database migration toolsFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | golang-migrate | pgroll |
|---|---|---|
| Database support | Listed database drivers include PostgreSQL, MySQL/MariaDB, SQLite, MongoDB, Neo4j, CockroachDB, and Google Cloud Spanner. | PostgreSQL 14 and later; hosted and self-managed services |
| License | The project is distributed under the MIT License, which requires retaining the copyright and permission notices. | Apache 2.0 open-source license |
golang-migrate suits developers who need to apply and roll back database changes from a command line or Go application. Its many listed database drivers and migration sources can fit projects using different storage setups.
pgroll suits developers managing PostgreSQL schema changes who want old and new versions to coexist during application rollout. Teams using PostgreSQL 14 with row-level security should weigh its documented limitation.