@ztimson/utils 0.25.4 → 0.25.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -415,9 +415,7 @@ class Database {
|
|
|
415
415
|
req.onupgradeneeded = () => {
|
|
416
416
|
const db = req.result;
|
|
417
417
|
const existingTables = new ASet(Array.from(db.objectStoreNames));
|
|
418
|
-
console.log("delete", existingTables.difference(tableNames));
|
|
419
418
|
existingTables.difference(tableNames).forEach((name) => db.deleteObjectStore(name));
|
|
420
|
-
console.log("create", tableNames.difference(existingTables));
|
|
421
419
|
tableNames.difference(existingTables).forEach((name) => db.createObjectStore(name));
|
|
422
420
|
};
|
|
423
421
|
});
|