From: Benjamin Auder Date: Thu, 19 Mar 2020 15:52:21 +0000 (+0100) Subject: Trigger IndexedDB onupgradeneeded by increasing DB version X-Git-Url: https://git.auder.net/variants/current/doc/css/assets/img/%3C?a=commitdiff_plain;h=76373619dc6ca57b77349cc758cdee298bcfc4eb;p=vchess.git Trigger IndexedDB onupgradeneeded by increasing DB version --- diff --git a/client/src/utils/gameStorage.js b/client/src/utils/gameStorage.js index 514448b0..e26e19ab 100644 --- a/client/src/utils/gameStorage.js +++ b/client/src/utils/gameStorage.js @@ -19,7 +19,7 @@ import { store } from "@/store"; function dbOperation(callback) { let db = null; - let DBOpenRequest = window.indexedDB.open("vchess", 4); + let DBOpenRequest = window.indexedDB.open("vchess", 5); DBOpenRequest.onerror = function(event) { alert(store.state.tr["Database error: stop private browsing, or update your browser"]);