1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +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")
}