Home

Awesome

GolangCI Version Go Report Card Coverage Status Go Reference Mentioned in Awesome Go

go-pg-migrate

CLI-friendly package for PostgreSQL migrations management.

Installation

Requires Go Modules enabled.

go get github.com/lawzava/go-pg-migrate/v2

Usage

Initialize the migrate with options payload where choices are:

Example

You will find the example in examples directory. The example is CLI-friendly and can be used as a base for CLI-based migrations utility.