summaryrefslogtreecommitdiffstats
path: root/models/models_tidb.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-06 16:31:22 -0400
committerUnknwon <u@gogs.io>2015-09-06 16:31:22 -0400
commit85f34ba53843177999cb98bad046e9cce22bfc8f (patch)
treef1f7ca6d3b0fc4848216becd9bc2a25e019cb12e /models/models_tidb.go
parent00767a0522606cd504d81d35fa1d9e9c1e34610c (diff)
downloadgitea-85f34ba53843177999cb98bad046e9cce22bfc8f.tar.gz
gitea-85f34ba53843177999cb98bad046e9cce22bfc8f.zip
new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
Diffstat (limited to 'models/models_tidb.go')
-rw-r--r--models/models_tidb.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/models/models_tidb.go b/models/models_tidb.go
new file mode 100644
index 0000000000..20d9819706
--- /dev/null
+++ b/models/models_tidb.go
@@ -0,0 +1,16 @@
+// +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/pingcap/tidb"
+)
+
+func init() {
+ EnableTidb = true
+}