Skip to content

pickjunk/mysql-migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql-migrate

Migration tool, base on golang-migrate/migrate.

Quick Start

$ go get -v github.com/pickjunk/mysql-migrate
$ mysql-migrate # print help document

Commands

$ mysql-migrate migrate create [migration-name]
$ mysql-migrate migrate up
$ mysql-migrate migrate rollback [version]
$ mysql-migrate migrate force [version] # use this when version is dirty (after error occurred)

$ mysql-migrate root # insert or update root record

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages