Fix migration version check.

This commit is contained in:
Bauke 2023-05-17 12:24:36 +02:00
parent 37fb4780f3
commit 5669510d9c
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,9 @@ export async function runMigrations(): Promise<void> {
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;
}