Skip to content

Commit 8678620

Browse files
Hopefully nuke db on failed migration
1 parent ecb63e3 commit 8678620

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.claude/settings.local.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"permissions": {
33
"allow": [
4-
"Bash(npx tsc:*)"
4+
"Bash(npx tsc:*)",
5+
"Bash(npm ls:*)",
6+
"Bash(nvm ls:*)",
7+
"Bash(source ~/.nvm/nvm.sh)"
58
],
69
"deny": [],
710
"ask": []
811
}
9-
}
12+
}

src/caches/indexeddb.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ class TileDb extends Dexie {
1414
points: Table<Point, number>;
1515

1616
constructor() {
17-
super("db");
17+
super("database");
18+
1819
this.version(4).stores({
1920
tiles: "id,layer",
2021
tracks: "++id",
21-
});
22+
})
23+
2224
this.version(5).stores({
2325
tiles: "id,layer",
2426
tracks: "++id",

0 commit comments

Comments
 (0)