Skip to content

Commit

Permalink
Resolve #1145
Browse files Browse the repository at this point in the history
  • Loading branch information
dfahlander committed Oct 16, 2020
1 parent 0ae166b commit 7e75a57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/classes/version/schema-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export function updateTablesAndIndexes(
if (contentUpgrade && version._cfg.version > oldVersion) {
// Update db.core with new tables and indexes:
generateMiddlewareStacks(db, idbUpgradeTrans);
trans._memoizedTables = {}; // Invalidate memoization as transaction shape may change between versions.

anyContentUpgraderHasRun = true;

Expand Down

0 comments on commit 7e75a57

Please sign in to comment.