indexeddb init

This commit is contained in:
old4ever committed 2025-08-14 22:49:19 -04:00
1 parent fd7849c0b8
commit 80de65f577
4 files changed
+22 -2

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { openDB } from "idb";
export const dbPromise = openDB("icalPWA", 1, {
upgrade(db) {
db.createObjectStore("events", { keyPath: "id" });
},
});