You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
299 B

  1. // +build tidb
  2. // Copyright 2015 The Gogs Authors. All rights reserved.
  3. // Use of this source code is governed by a MIT-style
  4. // license that can be found in the LICENSE file.
  5. package models
  6. import (
  7. _ "github.com/go-xorm/tidb"
  8. _ "github.com/pingcap/tidb"
  9. )
  10. func init() {
  11. EnableTidb = true
  12. }