mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:30:56 +00:00
migration: update the debug error
This commit is contained in:
parent
31f0ac4ce3
commit
564c3bbeb5
@ -171,6 +171,8 @@ func Rollback(name string) error {
|
|||||||
time.Sleep(2 * time.Second)
|
time.Sleep(2 * time.Second)
|
||||||
return nil
|
return nil
|
||||||
} else {
|
} else {
|
||||||
|
beego.Error("not exist the migrationMap name:" + name)
|
||||||
|
time.Sleep(2 * time.Second)
|
||||||
return errors.New("not exist the migrationMap name:" + name)
|
return errors.New("not exist the migrationMap name:" + name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user