Skip to content

Commit

Permalink
Merge pull request #3799 from stefanosansone/fix/room-migrations
Browse files Browse the repository at this point in the history
Android - Allow room destructive migration
  • Loading branch information
jacksonh authored Apr 8, 2024
2 parents bc0e38f + f3cb55f commit 93f4f96
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 93f4f96

Please sign in to comment.