fix: bump database version to v9

clears database to handle any old state seen in history getting applied bug bc336709af
This commit is contained in:
td 2024-07-18 15:12:42 +05:30
parent 2b0fbd2268
commit 73e89966c7
No known key found for this signature in database
GPG Key ID: 62A30523D4D6CE28
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ import 'package:matrix/src/database/database_file_storage_stub.dart'
/// Learn more at: /// Learn more at:
/// https://github.com/famedly/matrix-dart-sdk/issues/1642#issuecomment-1865827227 /// https://github.com/famedly/matrix-dart-sdk/issues/1642#issuecomment-1865827227
class MatrixSdkDatabase extends DatabaseApi with DatabaseFileStorage { class MatrixSdkDatabase extends DatabaseApi with DatabaseFileStorage {
static const int version = 8; static const int version = 9;
final String name; final String name;
late BoxCollection _collection; late BoxCollection _collection;
late Box<String> _clientBox; late Box<String> _clientBox;