diff options
author | lunnyxiao <xiaolunwen@gmail.com> | 2014-08-29 11:24:37 +0800 |
---|---|---|
committer | lunnyxiao <xiaolunwen@gmail.com> | 2014-08-29 11:24:37 +0800 |
commit | c40e815763f8360b892cc5bbdd09725c1df6902f (patch) | |
tree | 8561e32acaa9a3645d1ab84c1c58804ca862913d /models | |
parent | 81287ba022ae906f1f9eb5b1324567cd93771b4e (diff) | |
download | gitea-c40e815763f8360b892cc5bbdd09725c1df6902f.tar.gz gitea-c40e815763f8360b892cc5bbdd09725c1df6902f.zip |
add migrate api
Diffstat (limited to 'models')
-rw-r--r-- | models/models.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go index bf2586063b..186ddf41aa 100644 --- a/models/models.go +++ b/models/models.go @@ -127,6 +127,7 @@ func SetEngine() (err error) { x.ShowSQL = true x.ShowDebug = true x.ShowErr = true + x.ShowWarn = true return nil } |