diff --git a/utils/indexedDB.js b/utils/indexedDB.js index 3cc0c01..dcdd3de 100644 --- a/utils/indexedDB.js +++ b/utils/indexedDB.js @@ -1,7 +1,6 @@ import { openDB } from "idb"; // utils/indexedDB.js -// Erhöhe die Version auf 2, um sicherzustellen, dass der Object Store "pages" erstellt wird -const dbPromise = openDB("my-pdf-store", 2, { +const dbPromise = openDB("my-pdf-store", 1, { upgrade(db) { // Überprüfe und erstelle den Object Store für PDFs if (!db.objectStoreNames.contains("pdfs")) {