Added database faker for when indexedb is disabled

Database is now in a context with a status
New FAQ for indexdb errors
This commit is contained in:
Mitchell McCaffrey
2020-05-03 18:22:09 +10:00
parent 05d5c76c86
commit 60059ff447
11 changed files with 264 additions and 129 deletions
-11
View File
@@ -1,11 +0,0 @@
import Dexie from "dexie";
const db = new Dexie("OwlbearRodeoDB");
db.version(1).stores({
maps: "id, owner",
states: "mapId",
tokens: "id, owner",
user: "key",
});
export default db;