mirror of
https://github.com/beego/bee.git
synced 2024-11-25 20:10:55 +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)
|
migrateReset(crupath, driverStr, connStr)
|
||||||
case "refresh":
|
case "refresh":
|
||||||
ColorLog("[INFO] Refreshing all migrations\n")
|
ColorLog("[INFO] Refreshing all migrations\n")
|
||||||
migrateReset(crupath, driverStr, connStr)
|
migrateRefresh(crupath, driverStr, connStr)
|
||||||
default:
|
default:
|
||||||
ColorLog("[ERRO] Command is missing\n")
|
ColorLog("[ERRO] Command is missing\n")
|
||||||
os.Exit(2)
|
os.Exit(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user