Fixes error in RealmSessionStoreMigration

This commit is contained in:
ericdecanini 2022-07-19 14:12:56 +02:00
parent 6f9b5c010d
commit f9580e6cd5

View File

@ -67,7 +67,7 @@ internal class RealmSessionStoreMigration @Inject constructor(
override fun equals(other: Any?) = other is RealmSessionStoreMigration
override fun hashCode() = 1000
override fun doMigrate(realm: DynamicRealm, oldVersion: Long, newVersion: Long) {
override fun doMigrate(realm: DynamicRealm, oldVersion: Long) {
if (oldVersion < 1) MigrateSessionTo001(realm).perform()
if (oldVersion < 2) MigrateSessionTo002(realm).perform()
if (oldVersion < 3) MigrateSessionTo003(realm).perform()