Fixed exception on Room downgrade

This commit is contained in:
Nite 2020-10-17 12:38:48 +02:00
parent 273bee1341
commit 30a5abaa34
No known key found for this signature in database
GPG Key ID: 1D1AD59B1C6386C1
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ val appPermanentStorage = module {
"ultrasonic-database"
)
.addMigrations(MIGRATION_1_2)
.fallbackToDestructiveMigrationOnDowngrade()
.build()
}