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
|
@ -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 New Issue