Added an indexedb database to store uploaded maps into

This commit is contained in:
Mitchell McCaffrey
2020-04-23 15:02:03 +10:00
parent 8681864ddc
commit 071cd3ea7f
9 changed files with 159 additions and 62 deletions

6
src/database.js Normal file
View File

@@ -0,0 +1,6 @@
import Dexie from "dexie";
const db = new Dexie("OwlbearRodeoDB");
db.version(1).stores({ maps: "id" });
export default db;