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:
@@ -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