allow room destructive migration

This commit is contained in:
Stefano Sansone
2024-04-08 12:05:43 +02:00
parent bc0e38f44a
commit f3cb55f8c6
2 changed files with 5 additions and 3 deletions

View File

@ -27,8 +27,8 @@ android {
applicationId = "app.omnivore.omnivore"
minSdk = 26
targetSdk = 34
versionCode = 200001
versionName = "0.200.1"
versionCode = 200002
versionName = "0.200.2"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {

View File

@ -21,5 +21,7 @@ object DatabaseModule {
context,
OmnivoreDatabase::class.java,
"omnivore-database",
).build()
)
.fallbackToDestructiveMigration()
.build()
}