diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-08-24 11:24:45 +0200 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2019-08-24 11:24:45 +0200 |
commit | f83db078f0603c775cd1b1bb016f996b65a04835 (patch) | |
tree | 9895f852c768d43b384ba36259b44d9506b04093 /cmd/cmd.go | |
parent | Document possibility to limit API Repo search to topics only. (#7957) (diff) | |
download | forgejo-f83db078f0603c775cd1b1bb016f996b65a04835.tar.xz forgejo-f83db078f0603c775cd1b1bb016f996b65a04835.zip |
Move database settings from models to setting (#7806)
* move database settings from models to setting
* update docs
* fix checkout pr
* fix tests
* fix lint
* remove unsupported tidb options
* correct wrong variable name
* remove tidb totally
Diffstat (limited to 'cmd/cmd.go')
-rw-r--r-- | cmd/cmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd.go b/cmd/cmd.go index 5a55ac318c..d05eb8b1a2 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -38,7 +38,7 @@ func initDB() error { func initDBDisableConsole(disableConsole bool) error { setting.NewContext() - models.LoadConfigs() + setting.InitDBConfig() setting.NewXORMLogService(disableConsole) if err := models.SetEngine(); err != nil { |