Skip to content

Commit

Permalink
Change IDB to version 2 to force new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
DAG100 committed Mar 14, 2024
1 parent dc94617 commit 061dd91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/data_worker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function start_IDB() { //if this resolves, the global variable 'db' should
return new Promise((resolve, reject) => {
db = "";
try {
const openRequest = indexedDB.open("students", 1);
const openRequest = indexedDB.open("students", 2);
openRequest.addEventListener("error", (error) => {
// console.error("Failed to access local database.");
// console.log(error);
Expand Down

0 comments on commit 061dd91

Please sign in to comment.