diff options
author | Sergio Benitez <sbenitez@mit.edu> | 2015-09-09 13:44:51 -0700 |
---|---|---|
committer | Sergio Benitez <sbenitez@mit.edu> | 2015-09-09 13:44:51 -0700 |
commit | 964d0262ff353db6a50ed5be83ebd22f71aa6e69 (patch) | |
tree | 8cbab6b6a9b4f62cbe9acb2a0b8752b531633362 /models/models_tidb.go | |
parent | 079a2d68db5c843ef2dbba65aeca46d5887d6b02 (diff) | |
parent | b75d0378cbbf0523963fd9bc749543244be7392b (diff) |
Merged conflicts.
Diffstat (limited to 'models/models_tidb.go')
-rw-r--r-- | models/models_tidb.go | 16 |
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 +} |