Commit b15f06a9 authored by Aral Balkan's avatar Aral Balkan

Rename the database

parent b91dc0b7
......@@ -34,9 +34,9 @@ function displayDurationFor (taskName) {
// Test Dexie
async function start () {
// Start with a fresh database each time
await Dexie.delete('hellodb')
await Dexie.delete('tasks')
const db = new Dexie('hellodb')
const db = new Dexie('tasks')
db.version(1).stores({
tasks: '++id,date,description,done'
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment