rename heartbeat indexedDB db name because key changed

This commit is contained in:
Alan Hamlett
2024-10-08 14:13:34 +02:00
parent 7c7f749c71
commit c1bfd20053
4 changed files with 3 additions and 11 deletions

View File

@@ -27,7 +27,7 @@ class WakaTimeCore {
* a library that adds promises to IndexedDB and makes it easy to use
*/
async db() {
return openDB('wakatime', 1, {
return openDB('wakatime', 2, {
upgrade(db) {
db.createObjectStore(config.queueName, {
keyPath: 'id',