Redo previous migration

This time, wait for storage to be ready.

Fixes #608

// FREEBIE
pull/749/head
lilia 9 years ago
parent 60c37ca3c6
commit 34ae81c30d

@ -88,6 +88,18 @@
storage.put("chromiumRegistrationDoneEver", "");
}
}
},
{
version: "6.0",
migrate: function(transaction, next) {
storage.onready(function() {
if (storage.get("chromiumRegistrationDone") === "") {
storage.put("chromiumRegistrationDoneEver", "");
next();
}
});
storage.fetch();
}
}
];
}());

Loading…
Cancel
Save