mirror of
https://github.com/beego/bee.git
synced 2024-11-29 06:31:35 +00:00
bugfix: call refresh function when refreshing
This commit is contained in:
parent
7377c05023
commit
104b35e062
@ -109,7 +109,7 @@ func runMigration(cmd *Command, args []string) {
|
||||
migrateReset(crupath, driverStr, connStr)
|
||||
case "refresh":
|
||||
ColorLog("[INFO] Refreshing all migrations\n")
|
||||
migrateReset(crupath, driverStr, connStr)
|
||||
migrateRefresh(crupath, driverStr, connStr)
|
||||
default:
|
||||
ColorLog("[ERRO] Command is missing\n")
|
||||
os.Exit(2)
|
||||
|
Loading…
Reference in New Issue
Block a user