gormigrate-cli

command module
v0.0.0-...-2925477 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: MIT Imports: 15 Imported by: 0

README

Gormigrate CLI

Gormigrate CLI is a helper command file allowing you to easily integrate migration workflow to your gorm-based project. It aims to mimic how popular framework in other language does migration CLI.

Installation

Just drop main.go into migrations folder of your choice

You also need (of course) gorm, gormigrate, and viper

Usage

To create new migration file

go run main.go --make Your Migration Name

To apply migration

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL