golang-migrate
Database migrations written in Go, usable as a CLI or imported as a Golang library, reading migration sources from filesystem, embedded Go data, GitHub, GitHub Enterprise, Bitbucket, GitLab, AWS S3 or Google Cloud Storage and applying them in order to PostgreSQL, MySQL, MariaDB, SQLite, SQLCipher, Cassandra, Neo4j, MongoDB, Spanner, CockroachDB, YugabyteDB, ClickHouse, Firebird, MS SQL Server, rqlite and other databases.
golang-migrate at github.com/golang-migrate/migrate is a free MIT Go migration CLI and library, up and down SQL files, sources from filesystem, embedded Go data, GitHub, GitHub Enterprise, Bitbucket, GitLab, AWS S3 and GCS, databases including PostgreSQL MySQL MariaDB SQLite SQLCipher Cassandra Neo4j MongoDB Spanner CockroachDB YugabyteDB ClickHouse Firebird MS SQL Server and rqlite, stable frozen v3 v4 API, thread-safe graceful stop, GitHub source, no sold project tier, separate third-party support terms (data as of Nov 22, 2026).
*This is an affiliate link, we may earn a commission at no extra cost to you.
Is golang-migrate free?
golang-migrate: golang-migrate is free open-source software under the MIT License, forked from mattes/migrate and maintained by the golang-migrate project. Each migration carries an up and a down SQL file; the CLI wraps the library, handles SIGINT gracefully, has no config search paths or magic environment injection, and the Go API is stable and frozen for v3 and v4, thread-safe with graceful stop and bring-your-own logger. Source code, CLI and library are published on GitHub; no paid commercial edition or per-seat license is sold by the project, while third-party support or consulting may be offered separately under their own terms (data as of Nov 22, 2026). Check the official page for current status before relying on it.
Frequently Asked Questions
Is golang-migrate free?
The code is free to self-host, but a hosted plan from the vendor may not be. golang-migrate publishes its source, so cost depends on where you run it.
How much does golang-migrate cost?
golang-migrate is free open-source software under the MIT License, forked from mattes/migrate and maintained by the golang-migrate project. Each migration carries an up and a down SQL file; the CLI wraps the library, handles SIGINT gracefully, has no config search paths or magic environment injection, and the Go API is stable and frozen for v3 and v4, thread-safe with graceful stop and bring-your-own logger. Source code, CLI and library are published on GitHub; no paid commercial edition or per-seat license is sold by the project, while third-party support or consulting may be offered separately under their own terms (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.
Where can I check golang-migrate's current pricing?
On golang-migrate's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.
What is golang-migrate?
Drivers stay lightweight and fail rather than guess at user input; the glue layer reads a source directory or remote repository, applies numbered up migrations in order and can step back through down migrations, both from the command line and inside a Go program that already holds a database client.
How does pricing work?
The CLI and library are free MIT with no purchase fee or seat count; embed the Go module or run the binary against your own database, and any commercial support or training engagement is arranged outside the open-source project.
How does golang-migrate compare with other tools in Dev Workflow & Productivity?
golang-migrate is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.
| Tool | Pricing model | Key pricing on file | Price checked |
|---|---|---|---|
| golang-migrate | Open source | golang-migrate is free open-source software under the MIT License, forked from mattes/migrate and maintained by the golang-migrate project. Each migration carries an up and a down SQL file; the CLI wraps the library, handles SIGINT gracefully, has no config search paths or magic environment injection, and the Go API is stable and frozen for v3 and v4, thread-safe with graceful stop and bring-your-own logger. Source code, CLI and library are published on GitHub; no paid commercial edition or per-seat license is sold by the project, while third-party support or consulting may be offered separately under their own terms (data as of Nov 22, 2026). | Nov 22, 2026 |
| DBMate | Open source | DBMate is free open-source software under the MIT License, a standalone command line migration tool that keeps the database schema in sync across multiple developers and production servers. It writes plain SQL migrations named by timestamp to avoid version conflicts between developers, runs migrations atomically inside a transaction where supported, can create and drop databases in development and test, saves a schema.sql file for git diffs, reads the connection URL from DATABASE_URL or a .env file, and ships as a single self-contained binary with NPM, Homebrew, Linux, Windows Scoop, Docker and GHCR installs. The project README states it does not upsell a SaaS service; source code and documentation are published on GitHub, and no paid commercial edition or per-seat license is sold by the project (data as of Nov 22, 2026). | Nov 22, 2026 |
| Sqitch | Open source | Sqitch is free open-source software under the MIT License, a database change management system that treats changes as discrete, dependency-ordered events rather than framework-specific migration objects. Each change carries deploy, revert and optional verify scripts, plans sequence changes per target, and dependencies control the order in which scripts run across multiple database engines. Source code, documentation and releases are published on sqitch.org and GitHub; no paid commercial edition or per-seat license is sold by the project, while third-party training, consulting and enterprise support may be offered separately under their own terms (data as of Nov 22, 2026). | Nov 22, 2026 |
3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.
Full pricing breakdown
golang-migrate's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.
Open source does not always mean every hosted version is free.
Key pricing: golang-migrate is free open-source software under the MIT License, forked from mattes/migrate and maintained by the golang-migrate project. Each migration carries an up and a down SQL file; the CLI wraps the library, handles SIGINT gracefully, has no config search paths or magic environment injection, and the Go API is stable and frozen for v3 and v4, thread-safe with graceful stop and bring-your-own logger. Source code, CLI and library are published on GitHub; no paid commercial edition or per-seat license is sold by the project, while third-party support or consulting may be offered separately under their own terms (data as of Nov 22, 2026).
Estimate your monthly bill with our calculator →Or build a full stack around your budget →Pricing Guides & Comparisons
Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.
⭐ Rate this tool
How would you rate this tool?
🚀 Never Miss a New AI Coding Tool
Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.
Current Alternatives
DBMate
Lightweight framework-agnostic standalone database migration CLI written in Go, usable from Go, Node.js, Python, Ruby, PHP, Rust, C++ or any other language, with plain SQL timestamp-versioned migrations, atomic transactional runs, schema.sql diff export, .env loading, migration locking and drivers for PostgreSQL, MySQL, MariaDB, SQLite, ClickHouse, BigQuery and Spanner.
Sqitch
Sensible database change management tool with deploy, revert, verify and rework plans, change scripts organized by target and dependency, engine support for PostgreSQL, MySQL, Oracle, SQLite, Firebird, Vertica, Exasol, Snowflake, CockroachDB, ClickHouse and YugabyteDB, and a Perl-based core with VCS integration.
Tool Information
- Official Websitegithub.com
- CategoryDev Workflow & Productivity
- PricingOpen Source
- Price checkedNov 22, 2026
