We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8765d7e commit 9dc51e1Copy full SHA for 9dc51e1
jquery.indexeddb.js
@@ -382,7 +382,7 @@
382
if (config && config.schema) {
383
// Assuming that version is always an integer
384
//console.log"Upgrading DB to ", db.version);
385
- for (var i = e.oldVersion; i <= e.newVersion; i++) {
+ for (var i = e.oldVersion + 1; i <= e.newVersion; i++) {
386
typeof config.schema[i] === "function" && config.schema[i].call(this, wrap.transaction(this.transaction));
387
}
388
0 commit comments