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