Does Go have a nice library for database migrations etc without necessarily being a full ORM?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • - Download’s Tech Salary Report
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Truly a developer’s best friend
  • atlas

    A database toolkit

  • dbmate

    :rocket: A lightweight, framework-agnostic database migration tool.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • migrate

    Database migrations. CLI and Golang library.

    This works well and can be used as a standalone or as a lib.

  • GORM

    The fantastic ORM library for Golang, aims to be developer friendly


  • ent

    An entity framework for Go


  • Flyway

    Flyway by Redgate • Database Migrations Made Easy.

    Flyway is dope 🤩, too.

  • tern

    The SQL Fan's Migrator

    I use + .env files which interpolate with its config for various environments.


    Download’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform

  • dmedia

    Self hosted media solution

    I manage my own migration as well, my approach is before I get the sqlite db I do migrations like here:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts