Update version number
This commit is contained in:
parent
deb21ccb90
commit
6c66863305
|
@ -24,8 +24,8 @@ android {
|
|||
applicationId "com.h.pixeldroid"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 30
|
||||
versionCode 6
|
||||
versionName "1.0.alpha5"
|
||||
versionCode 7
|
||||
versionName "1.0.alpha6"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
testInstrumentationRunnerArguments clearPackageData: 'true'
|
||||
|
|
|
@ -20,7 +20,7 @@ import com.h.pixeldroid.objects.Notification
|
|||
PublicFeedStatusDatabaseEntity::class,
|
||||
Notification::class
|
||||
],
|
||||
version = 1
|
||||
version = 2
|
||||
)
|
||||
@TypeConverters(Converters::class)
|
||||
abstract class AppDatabase : RoomDatabase() {
|
||||
|
|
|
@ -16,6 +16,9 @@ class DatabaseModule(private val context: Context) {
|
|||
return Room.databaseBuilder(
|
||||
context,
|
||||
AppDatabase::class.java, "pixeldroid"
|
||||
).allowMainThreadQueries().build()
|
||||
).allowMainThreadQueries()
|
||||
//TODO remove this for 1.0 release
|
||||
.fallbackToDestructiveMigration()
|
||||
.build()
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue