mirror of
https://gitee.com/gitea/gitea
synced 2025-12-25 09:46:34 +08:00
add tidb support
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user