Go Migrations

Open-source Go projects categorized as Migrations

Top 14 Go Migration Projects

  1. migrate

    Database migrations. CLI and Golang library.

    Project mention: How to use migrations with Golang | dev.to | 2024-11-06

    Go doesn't support migrations natively for that propuso we can use the popular golang-migrate package also if you use an ORM like GORM you can use it for that.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. goose

    A database migration tool. Supports SQL migrations and Go functions. (by pressly)

    Project mention: How to handle migrations in Golang | dev.to | 2024-06-11

    goose

  4. dbmate

    🚀 A lightweight, framework-agnostic database migration tool.

    Project mention: FastAPI in Prod: Handling DB migrations, auth, and more | dev.to | 2025-02-18

    dbmate – A simple, language-agnostic approach to managing database migrations.

  5. pgroll

    PostgreSQL zero-downtime migrations made easy

    Project mention: Ask HN: Seeking feedback on my Postgres TypeScript thing | news.ycombinator.com | 2024-12-15

    I see you're using pg-schema-diff for schema diffing, hadn’t come across it before, so thanks for mentioning it!

    Have you seen pgroll? https://github.com/xataio/pgroll

  6. gobuffalo/pop

    A Tasty Treat For All Your Database Needs (by gobuffalo)

  7. go-pg-migrations

    A Go package to help write migrations with go-pg/pg.

  8. metana

    Abstract task migration tool written in Go for Golang services. Database and non database migration management brought to the CLI.

  9. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  10. crane

    Tool for migrating Kubernetes workloads, and their data, between clusters. (by migtools)

  11. amigo

    A database migration tool in Go language inspired by active record migrations.

    Project mention: Show HN: I Made New Golang Database Migration Tool | news.ycombinator.com | 2024-06-05
  12. miflo

    A database schema migration tool. Supports SQLite, PostgreSQL, and libSQL.

  13. go-pg-migrate

    CLI-friendly package for pg migrations management.

  14. arangom

    Handle ArangoDB schema migrations

  15. migrations

    Permite ejecutar los archivos .sql de migraciones en cualquier base de datos (by alexyslozada)

  16. example-go-migration

    Project mention: How to use migrations with Golang | dev.to | 2024-11-06

    The code for this tutorial can be found in the public: GitHub - albertcolom/example-go-migration

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Migrations discussion

Log in or Post with

Go Migrations related posts

  • Show HN: SRTD – Live-reloading SQL templates for Supabase migrations

    2 projects | news.ycombinator.com | 9 Jan 2025
  • Ask HN: Seeking feedback on my Postgres TypeScript thing

    2 projects | news.ycombinator.com | 15 Dec 2024
  • Pgroll – Zero-downtime, reversible, schema changes for PostgreSQL (new website)

    1 project | news.ycombinator.com | 11 Dec 2024
  • Scalable Server SQLite Apps

    1 project | news.ycombinator.com | 27 Sep 2024
  • Pgroll: PostgreSQL zero-downtime migrations made easy

    1 project | news.ycombinator.com | 22 Sep 2024
  • pgroll update 0.6.0

    1 project | dev.to | 5 Aug 2024
  • Introducing multi-version schema migrations

    1 project | dev.to | 27 Jul 2024
  • A note from our sponsor - Nutrient
    www.nutrient.io | 19 Feb 2025
    Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries. Learn more →

Index

What are some of the best open-source Migration projects in Go? This list will help you:

# Project Stars
1 migrate 16,049
2 goose 7,686
3 dbmate 5,699
4 pgroll 4,680
5 gobuffalo/pop 1,465
6 go-pg-migrations 84
7 metana 63
8 crane 45
9 amigo 31
10 miflo 18
11 go-pg-migrate 10
12 arangom 5
13 migrations 3
14 example-go-migration 0

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai