Skip to content

Commit

Permalink
allow room destructive migration
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanosansone committed Apr 8, 2024
1 parent bc0e38f commit f3cb55f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions android/Omnivore/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ object DatabaseModule {
context,
OmnivoreDatabase::class.java,
"omnivore-database",
).build()
)
.fallbackToDestructiveMigration()
.build()
}

0 comments on commit f3cb55f

Please sign in to comment.