1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

add tidb support

This commit is contained in:
Unknwon
2015-09-12 15:31:36 -04:00
parent 10de16beb0
commit aff773f1b9
9 changed files with 44 additions and 12 deletions

View File

@@ -8,9 +8,11 @@ package models
import (
_ "github.com/go-xorm/tidb"
"github.com/ngaut/log"
_ "github.com/pingcap/tidb"
)
func init() {
EnableTidb = true
log.SetLevelByString("error")
}