mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-05 09:55:20 +02:00
new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
This commit is contained in:
parent
00767a0522
commit
85f34ba538
16 changed files with 148 additions and 121 deletions
16
models/models_tidb.go
Normal file
16
models/models_tidb.go
Normal file
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue