Simple database migration tool using fs.FS and sql.DB

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • migrate

    A simple database migration tool. (by maragudk)

  • migrate

    Database migrations. CLI and Golang library.

  • I was always a bit confused about the complexity of my previous migration tool of choice, https://github.com/golang-migrate/migrate . While it does the job, setup of it on new projects is always a bit of a confusion. I wanted to build something simpler. My thought process:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • geckgo

  • I think you can actually already embed the migration files with golang-migrate fyi. I did it in the following project, where I use the http.FS option for that: https://github.com/brumhard/geckgo/blob/c5324559fa8a7e741e4b9caba19e3f956d6b9996/cmd/geckgo/main.go#L94. Anyways since it's been a while I could imagine that they've added even better support for it since then.

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