3.0 Beta 4

This commit is contained in:
2026-04-11 17:23:19 +02:00
parent 7e5ea20409
commit 62bc82f158
44 changed files with 860 additions and 51 deletions

View File

@@ -6,7 +6,7 @@ import {DatabaseAPI} from '@chatenium/chatenium-sdk/storage/database';
providedIn: 'root'
})
export class IndexedDB {
private dbVersion = 1
private dbVersion = 2
private db: IDBDatabase | null = null
getApi(): DatabaseAPI {
@@ -35,6 +35,7 @@ export class IndexedDB {
db.createObjectStore('networks', { keyPath: 'id' })
db.createObjectStore('files', { keyPath: 'id' })
db.createObjectStore('messages', { keyPath: 'id' })
db.createObjectStore('networkmessages', { keyPath: 'id' })
}
request.onsuccess = (event: Event) => {