Is there a DB framework that can manage migrations like Ruby on Rails ?

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • ent

    An entity framework for Go

  • goose

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

    I've used that and Goose.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GORM

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

    GORM can migrate your schema based on the structs you specify. When you change the struct, it will migrate the change. I've used it for a decent sized project, and I'm happy with the results.

  • sql-migrate

    SQL schema migration tool for Go.

    Currently a fan of this one https://github.com/rubenv/sql-migrate

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