Skip to content
SPECIFICTION
Get listed

Alembic vs Goose

Alembic

alembic.sqlalchemy.org

Goose

pressly.github.io

Side by side

FigureAlembicGoose
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOS—Yes
Linux—Yes
API—Yes
Self-hostedYesYes
Plans published11
Spec score · Database Migration Tools7.9 (#12)8.3 (#8)
LicenseThe repository license grants permission to use, copy, modify, distribute, and sell the software, subject to its stated conditions.The GitHub repository states that Goose is licensed under the MIT License.

Plans

Alembic

  • AlembicFree

Alembic pricing →

Goose

  • GooseFree

Goose pricing →

In their own words

Alembic

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

Visit alembic.sqlalchemy.org

Goose

Goose is a free, open-source database migration tool for managing schema changes through incremental SQL files and Go functions. It is available as both a command-line utility and a library. The CLI can apply, roll back, redo, reset, inspect, and version migrations, with documented drivers for ClickHouse, Microsoft SQL Server, MySQL, PostgreSQL, SQLite, Turso, Vertica, and YDB. SQL migration files use an up annotation and may include a down annotation; filenames can use timestamps or sequential numbers. Statements in a migration file run in one transaction by default, with an annotation for running them outside one. Go migration functions can use a transaction when given a transaction argument. Other listed capabilities include embedded and out-of-order migrations, data seeding, and environment variable substitution in SQL migrations. For library use, a provider accepts a database dialect, connection, migration filesystem, and optional configuration. The provider does not lock the database by default, so callers must arrange safe concurrent migrations or configure a session locker.

Visit pressly.github.io