Skip to content

Commit

Permalink
Fix DB versions issues
Browse files Browse the repository at this point in the history
Fix database issues on upgrades 1.0.x ===> 1.1.x
  • Loading branch information
LeMocha committed Jul 8, 2024
1 parent 6b85417 commit 3c554ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "launcher",
"preductname": "AlmyriaCraft Launcher",
"version": "1.1.2",
"version": "1.1.3",
"description": "Launcher pour le serveur AlmyriaCraft",
"main": "src/app.js",
"author": "Luuxis, LeWarpy <coucou@lewarpy.fr>, LeMocha <cadet@lucie.re>",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/utils/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class database {
async init() {
this.db = await new Promise((resolve) => {
let request = indexedDB.open('database', 1);
let request = indexedDB.open('database', 2);

request.onupgradeneeded = (event) => {
let db = event.target.result;
Expand Down

0 comments on commit 3c554ec

Please sign in to comment.