fix: config migration
This commit is contained in:
parent
da0d25c040
commit
f1af958056
2 changed files with 3 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ exports.up = function (next) {
|
|||
settingsLoader.loadLatest()
|
||||
.then(({ config }) => {
|
||||
if (!_.isEmpty(config))
|
||||
config.locale.timezone = '0:0'
|
||||
config.locale_timezone = '0:0'
|
||||
return settingsLoader.saveConfig(config)
|
||||
})
|
||||
.then(() => next())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue