Skip to content
SPECIFICTION
Get listed

Alembic vs golang-migrate

Alembic

alembic.sqlalchemy.org

golang-migrate

github.com

Side by side

FigureAlembicgolang-migrate
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOS—Yes
Linux—Yes
Self-hostedYesYes
Plans published11
Spec score · Database Migration Tools7.9 (#12)7.8 (#15)
LicenseThe repository license grants permission to use, copy, modify, distribute, and sell the software, subject to its stated conditions.The project is distributed under the MIT License, which requires retaining the copyright and permission notices.

Plans

Alembic

  • AlembicFree

Alembic pricing →

golang-migrate

  • Open sourceFree

golang-migrate pricing →

In their own words

Alembic

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

Visit alembic.sqlalchemy.org

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