Added owner to map and token keys, added map cache

This commit is contained in:
Mitchell McCaffrey
2020-04-30 11:25:33 +10:00
parent 88b4785307
commit 58bee3085d
4 changed files with 67 additions and 13 deletions

View File

@@ -2,9 +2,9 @@ import Dexie from "dexie";
const db = new Dexie("OwlbearRodeoDB");
db.version(1).stores({
maps: "id",
maps: "id, owner",
states: "mapId",
tokens: "id",
tokens: "id, owner",
user: "key",
});