aboutsummaryrefslogtreecommitdiff
path: root/models/models_tidb.go
diff options
context:
space:
mode:
authorSergio Benitez <sbenitez@mit.edu>2015-09-09 13:44:51 -0700
committerSergio Benitez <sbenitez@mit.edu>2015-09-09 13:44:51 -0700
commit964d0262ff353db6a50ed5be83ebd22f71aa6e69 (patch)
tree8cbab6b6a9b4f62cbe9acb2a0b8752b531633362 /models/models_tidb.go
parent079a2d68db5c843ef2dbba65aeca46d5887d6b02 (diff)
parentb75d0378cbbf0523963fd9bc749543244be7392b (diff)
Merged conflicts.
Diffstat (limited to 'models/models_tidb.go')
1 files changed, 16 insertions, 0 deletions
diff --git a/models/models_tidb.go b/models/models_tidb.go
new file mode 100644
index 00000000..d99884e9
--- /dev/null
+++ b/models/models_tidb.go
@@ -0,0 +1,16 @@
+// +build tidb go1.4.2
+
+// 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
+}