Fix migrations not upgrading the existing data consecutively.

This commit is contained in:
Bauke 2020-11-30 14:40:23 +01:00
parent d20a98c0a4
commit a67d78c099
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"manifest_version": 2,
"name": "Queue",
"description": "A WebExtension for queueing links.",
"version": "0.1.7",
"version": "0.1.8",
"permissions": [
"contextMenus",
"storage",

View File

@ -23,7 +23,7 @@ export function migrate(
}
log(`Running migration ${migration.date.toISOString()}`);
next = migration.upgrade(previous);
next = migration.upgrade(next);
}
return next;