Skip to content

Commit 68b2b5f

Browse files
Fix crash on startup by bumping up Room database version
1 parent 21ffcb5 commit 68b2b5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ android {
213213
defaultConfig {
214214
//applicationId 'fr.free.nrw.commons'
215215

216-
versionCode 1051
217-
versionName '5.4.0'
216+
versionCode 1052
217+
versionName '5.4.1'
218218
setProperty("archivesBaseName", "app-commons-v$versionName-" + getBranchName())
219219

220220
minSdkVersion 21

app/src/main/java/fr/free/nrw/commons/db/AppDatabase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import fr.free.nrw.commons.upload.depicts.DepictsDao
3030
*/
3131
@Database(
3232
entities = [Contribution::class, Depicts::class, UploadedStatus::class, NotForUploadStatus::class, ReviewEntity::class, Place::class, BookmarksCategoryModal::class, BookmarksLocations::class],
33-
version = 20,
33+
version = 21,
3434
exportSchema = false,
3535
)
3636
@TypeConverters(Converters::class)

0 commit comments

Comments
 (0)