Skip to content
SPECIFICTION
Get listed

golang-migrate vs Phinx

golang-migrate

github.com

Phinx

phinx.org

Side by side

Figuregolang-migratePhinx
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYes—
macOSYes—
LinuxYes—
Self-hostedYesYes
Plans published11
Spec score · Database Migration Tools8.5 (#8)7.8 (#20)
Purposegolang-migrate reads database migrations from sources and applies them to a database in order.Phinx manages database migrations for PHP applications.

Plans

golang-migrate

  • Open sourceFree

golang-migrate pricing →

Phinx

  • FreeFree

Phinx pricing →

In their own words

golang-migrate

golang-migrate reads database migrations from a source and applies them to a database in sequence. Each logical migration has an up file and a down file, and the tool can run as a command-line program or be imported as a Go library. Listed database drivers include PostgreSQL, MySQL/MariaDB, SQLite, MongoDB, Neo4j, CockroachDB, and Google Cloud Spanner. Migration sources include local files, embedded Go data, GitHub, GitLab, Bitbucket, AWS S3, and Google Cloud Storage. The CLI handles Ctrl+C gracefully and does not use config search paths, config files, or automatic environment-variable injection. The library uses io.Reader streams for low memory overhead, is described as thread-safe without goroutine leaks, and supports controlled stopping through a GracefulStop channel to help prevent database corruption. The project documents running the CLI in Docker with a mounted migration directory. golang-migrate is open source under the MIT License and costs nothing. The security policy marks master and 4.x as supported; 3.x and earlier are unsupported.

Visit github.com

Phinx

Phinx has no write-up on Specifiction yet; its figures are above.

Visit phinx.org