fix migrations applying over and over
This commit is contained in:
parent
4d5333102e
commit
540ea2f3c0
1 changed files with 2 additions and 1 deletions
|
|
@ -641,7 +641,8 @@ const users = {
|
|||
declarations
|
||||
.filter(x => {
|
||||
return x.store === 'server-side' &&
|
||||
(x.migrationNum ?? x.migrationNum > configMigration)
|
||||
x.migrationNum > 0 &&
|
||||
x.migrationNum > configMigration
|
||||
})
|
||||
.toSorted((a, b) => a.configMigration - b.configMigration)
|
||||
.forEach(value => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue