Skip to content

markbest/migrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

migrate

Golang实现的数据库迁移管理工具

usage

  • 拷贝conf/conf.toml.exmpale为conf/conf.toml,并配置数据库信息
  • go build -o bin/migrate migrate.go,编译生成可执行文件
  • bin/migrate create [filename](创建迁移文件)
  • bin/migrate up(执行迁移)
  • bin/migrate down(回滚迁移)
  • bin/migrate status(查看迁移文件的状态)

About

database migrate tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published