migrator

A Database Schema migration auto generator for Golang. Based on gorm

Goal:

  • Scan Schema changes and generate SQL migration scripts automatically with versioning.

Usage:

Refer to the example folder

Note:

– The sql files in the /example/migrations/sql folder where automatically generated by the library
– It automatically scanned changes to the models in /example/table folder and outputs SQL migrations for those changes automatically

GitHub

View Github