mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-01 05:54:05 +03:00
fix(copilot): idb upgrade
This commit is contained in:
parent
951f5540a3
commit
9422b93857
@ -55,6 +55,9 @@ export class IndexedDBChatMessageHistory extends ChatMessageHistory {
|
|||||||
database.createObjectStore('chat', {
|
database.createObjectStore('chat', {
|
||||||
keyPath: 'id',
|
keyPath: 'id',
|
||||||
});
|
});
|
||||||
|
database.createObjectStore('followingUp', {
|
||||||
|
keyPath: 'id',
|
||||||
|
});
|
||||||
} else if (oldVersion === 1) {
|
} else if (oldVersion === 1) {
|
||||||
database.createObjectStore('followingUp', {
|
database.createObjectStore('followingUp', {
|
||||||
keyPath: 'id',
|
keyPath: 'id',
|
||||||
|
Loading…
Reference in New Issue
Block a user