Fix migration version check.
This commit is contained in:
parent
37fb4780f3
commit
5669510d9c
|
@ -100,7 +100,9 @@ export async function runMigrations(): Promise<void> {
|
||||||
value: manifest.version,
|
value: manifest.version,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (manifest.version >= version.value) {
|
// Only when the current data version is lower than the manifest version
|
||||||
|
// should the migrations run.
|
||||||
|
if (version.value >= manifest.version) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue