summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/models_tidb.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/models/models_tidb.go b/models/models_tidb.go
deleted file mode 100644
index 6ceffcf646..0000000000
--- a/models/models_tidb.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// +build tidb
-
-// Copyright 2015 The Gogs Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
-
-package models
-
-import (
- _ "github.com/go-xorm/tidb"
- "github.com/ngaut/log"
- _ "github.com/pingcap/tidb"
-)
-
-func init() {
- EnableTiDB = true
- log.SetLevelByString("error")
-}