Compare commits

..

2 Commits
0.5.1 ... 0.5.2

Author SHA1 Message Date
5dcd4f9b72 Version 0.5.2 2018-07-15 19:09:31 +02:00
c4792289ef Fix 29 migration (#146) 2018-07-15 19:02:49 +02:00
3 changed files with 4 additions and 4 deletions

View File

@ -43,8 +43,8 @@ android {
testApplicationId "io.github.tests.wulkanowy" testApplicationId "io.github.tests.wulkanowy"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 27 targetSdkVersion 27
versionCode 15 versionCode 16
versionName "0.5.1" versionName "0.5.2"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
playAccountConfig = playAccountConfigs.defaultAccountConfig playAccountConfig = playAccountConfigs.defaultAccountConfig

View File

@ -32,7 +32,7 @@ class Migration29 : DbHelper.Migration {
private fun modifyStudents(db: Database) { private fun modifyStudents(db: Database) {
db.execSQL("ALTER TABLE Students ADD COLUMN school_id INTEGER") db.execSQL("ALTER TABLE Students ADD COLUMN school_id INTEGER")
db.execSQL("UPDATE Students SET (school_id) = ('1')") db.execSQL("UPDATE Students SET school_id = '1'")
} }
private fun getRealSchoolId(db: Database): String { private fun getRealSchoolId(db: Database): String {

View File

@ -1 +1 @@
Wulkanowy Dziennik UONET+ Wulkanowy Dzienniczek UONET+