mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-26 02:09:51 +08:00
fix: cache limit issue
This commit is contained in:
parent
efd67346fd
commit
61d1d0ab4d
|
@ -5,9 +5,9 @@ import store from '@/store';
|
||||||
|
|
||||||
const db = new Dexie('yesplaymusic');
|
const db = new Dexie('yesplaymusic');
|
||||||
|
|
||||||
db.version(2)
|
db.version(3)
|
||||||
.stores({
|
.stores({
|
||||||
trackSources: '&id',
|
trackSources: '&id, createTime',
|
||||||
})
|
})
|
||||||
.upgrade(tx =>
|
.upgrade(tx =>
|
||||||
tx
|
tx
|
||||||
|
|
Loading…
Reference in New Issue
Block a user