2015-09-07 15:27:19 +05:30
|
|
|
// +build tidb go1.4.2
|
2015-09-07 02:01:22 +05:30
|
|
|
|
|
|
|
// 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
|
|
|
|
}
|