diff options
author | Lunny Xiao | 2021-10-30 22:32:11 +0800 |
---|---|---|
committer | GitHub | 2021-10-30 22:32:11 +0800 |
commit | 63c0dc89ef96a2e38b38aa6cba5e4e8d1d7b9150 (patch) | |
tree | 91da225f6e02bba47fbe5677e18d6617e43aedcd /contrib | |
parent | 76a3190b8a988e18a6b5d66dcc7324f04d83342f (diff) |
Rename db Engines related functions (#17481)
* Rename db Engines related functions
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/pr/checkout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pr/checkout.go b/contrib/pr/checkout.go index 05e9c88fd..348ae75d9 100644 --- a/contrib/pr/checkout.go +++ b/contrib/pr/checkout.go @@ -95,7 +95,7 @@ func runPR() { setting.Database.LogSQL = true //x, err = xorm.NewEngine("sqlite3", "file::memory:?cache=shared") - db.NewEngine(context.Background(), func(_ *xorm.Engine) error { + db.InitEngineWithMigration(context.Background(), func(_ *xorm.Engine) error { return nil }) db.HasEngine = true |