golang-migrate

    golang-migrate/migrate

    #341 this week

    Database migrations. CLI and Golang library.

    database
    aws-s3
    cassandra
    databases
    go
    golang
    Go
    NOASSERTION
    19.0K stars
    1.6K forks
    19.0K GitHub watchers
    Updated Oct 13, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #341 of 2,845 repositories GStars tracks this week (top 12%).

    2 releases in the last 90 days, the latest 34 days ago, with 232 contributors on GitHub.

    Gained 27% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a Go library and CLI for managing database schema migrations across multiple database systems.
    • Ensures reliable, ordered migration execution with lightweight, fail-fast database drivers and support for various migration sources.
    • Use for automating schema changes in PostgreSQL, MySQL, MongoDB, and other supported databases in Go projects.
    • Use for integrating database migrations into CI/CD pipelines using the CLI or Docker container for consistent deployment.
    • Use for managing migrations stored in remote sources like GitHub, AWS S3, or Google Cloud Storage for distributed teams.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Other

    GitHub could not identify this license; read the LICENSE file before depending on it.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • License not identified by GitHub; read the LICENSE file before depending on it.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Database migrations written in Go. Use as CLI or import as library.

    Database drivers run migrations. Add a new database?

    Database connection strings are specified via URLs. The URL format is driver dependent but generally has the form: dbdriver://username:password@host:port/dbname?param1=true&param2=false

    Any reserved URL characters need to be escaped. Note, the % character also needs to be escaped

    Explicitly, the following characters need to be escaped: !, #, $, %, &, ', (, ), *, +, ,, /, :, ;, =, ?, @, [, ]

    Excerpt from the golang-migrate/migrate README on GitHub (NOASSERTION license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 10: +1Sep 11: +2

    +251 stars over 90 days across 9 snapshot days; best day +2 on Sep 11.

    Forks

    1.6K+31

    Open issues

    492+15

    Compared with peers in Database

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 11, by 7-day star growth

    golang-migrate/migrate compared with Database repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem102.6K+2.4K75today
    Bennettxai/FounderOS1.2K+15275—
    grafana/grafana77.3K+47752 days ago
    hasura/graphql-engine32.1K+07536 days ago
    onlook-dev/onlook26.9K+075453 days ago
    golang-migrate/migrate19.0K+05834 days ago
    Category median32.1K+4775—

    Discover Repositories

    Search across tracked repositories by name or description