mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 19:05:56 +03:00
Incrementing schema version - fixes pre-release launch crash (#5245)
* updating the schema version to 25 to reflect the latest migration * adding changelog entry
This commit is contained in:
parent
6c4f389342
commit
343b8bf08d
2 changed files with 2 additions and 1 deletions
1
changelog.d/5243.bugfix
Normal file
1
changelog.d/5243.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Increments database schema to take advantage of homeserver capabilities entity migration (fixes crash in pre-release builds)
|
|
@ -57,7 +57,7 @@ internal class RealmSessionStoreMigration @Inject constructor(
|
||||||
override fun equals(other: Any?) = other is RealmSessionStoreMigration
|
override fun equals(other: Any?) = other is RealmSessionStoreMigration
|
||||||
override fun hashCode() = 1000
|
override fun hashCode() = 1000
|
||||||
|
|
||||||
val schemaVersion = 24L
|
val schemaVersion = 25L
|
||||||
|
|
||||||
override fun migrate(realm: DynamicRealm, oldVersion: Long, newVersion: Long) {
|
override fun migrate(realm: DynamicRealm, oldVersion: Long, newVersion: Long) {
|
||||||
Timber.d("Migrating Realm Session from $oldVersion to $newVersion")
|
Timber.d("Migrating Realm Session from $oldVersion to $newVersion")
|
||||||
|
|
Loading…
Reference in a new issue