fix(copilot): idb upgrade
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user