Skip to content

Commit

Permalink
Don't give a ridiculously high pouchdb version (#9819)
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll authored Jan 9, 2024
1 parent ecd3cb5 commit 785cd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/idbworkspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function performMigrationsAsync() {

async function migratePouchAsync() {
const POUCH_OBJECT_STORE = "by-sequence";
const oldDb = new pxt.BrowserUtils.IDBWrapper("_pouch_pxt-" + pxt.storage.storageId(), 99999, () => {});
const oldDb = new pxt.BrowserUtils.IDBWrapper("_pouch_pxt-" + pxt.storage.storageId(), 5, () => {});
await oldDb.openAsync();
const entries = await oldDb.getAllAsync<any>(POUCH_OBJECT_STORE);

Expand Down Expand Up @@ -394,4 +394,4 @@ export const provider: WorkspaceProvider = {
deleteAsync,
listAsync,
resetAsync,
}
}

0 comments on commit 785cd94

Please sign in to comment.