Commit 2867c21
committed
fix(cache-dexie): fix primary key of eventTags store
Previously, tagValue alone was used as primary key for eventTags store.
Since multiple events can share the same tag, only the last event with
a given tag was stored.
Use composite key [tagValue+eventId] to allow multiple events per tag.1 parent 26abea2 commit 2867c21
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments