fix: save config used on migration
This commit is contained in:
parent
c072803ac3
commit
bd2d2b06c2
12 changed files with 31 additions and 19 deletions
|
|
@ -6,7 +6,7 @@ exports.up = function (next) {
|
|||
.then(({ config }) => {
|
||||
if (!_.isEmpty(config))
|
||||
config.locale_timezone = '0:0'
|
||||
return settingsLoader.saveConfig(config)
|
||||
return settingsLoader.migrationSaveConfig(config)
|
||||
})
|
||||
.then(() => next())
|
||||
.catch(err => next(err))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue