提交 564c3bbe 编写于 作者: A astaxie

migration: update the debug error

上级 31f0ac4c
......@@ -171,6 +171,8 @@ func Rollback(name string) error {
time.Sleep(2 * time.Second)
return nil
} else {
beego.Error("not exist the migrationMap name:" + name)
time.Sleep(2 * time.Second)
return errors.New("not exist the migrationMap name:" + name)
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册