what do you use for migrations? or how do you the sql tables and seeding?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • tern

    The SQL Fan's Migrator

  • I use tern! It’s the migrator tool written by the same author of pgx the de facto Postgres driver.

  • atlas

    Manage your database schema as code (by ariga)

  • Maybe you should take a look to Facebooks Atlas tool :) https://atlasgo.io

  • 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
  • migrate

    Database migrations. CLI and Golang library.

  • I use migrate and I'm pretty happy with it. It's fairly straightforward to get the migrations running on app startup, which makes deployments a breeze as long as you don't have anyone out there mucking with production DDL and getting into a mismatched state. The main reason I chose it is that it works well with sqlc, and it had what seemed like the least crazy setup to work with both.

  • wtf

    WTF Dial is an example web application written in Go. (by benbjohnson)

  • dbmate

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

  • I like dbmate, super simple and straightforward to use. For your specific use case, it can also be configured using your .env!

  • mig

    Database migration utility (by go-bridget)

  • If you guys would like to look at https://github.com/go-bridget/mig - would love some feedback if you have any.

  • goose

    A database migration tool. Supports SQL migrations and Go functions.

  • Goose with embedded SQL files (which it supports natively) works well for me.

  • SaaSHub

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

    SaaSHub logo
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

  • Is there a similar tool or alternative in Go like strong_migrations?

    3 projects | /r/golang | 30 Apr 2023
  • Is there a Go alternative to dbdeploy?

    5 projects | /r/golang | 13 Jul 2022
  • What's your database migration set-up like?

    2 projects | /r/golang | 7 Sep 2021
  • Using migrations with Golang

    5 projects | dev.to | 17 Apr 2024
  • How to use SQLC with Golang

    1 project | dev.to | 3 Jan 2024