diff --git a/app/src/main/java/io/github/wulkanowy/data/db/dao/migrations/Migration29.kt b/app/src/main/java/io/github/wulkanowy/data/db/dao/migrations/Migration29.kt index cb2fccb1..e318b5fd 100644 --- a/app/src/main/java/io/github/wulkanowy/data/db/dao/migrations/Migration29.kt +++ b/app/src/main/java/io/github/wulkanowy/data/db/dao/migrations/Migration29.kt @@ -32,7 +32,7 @@ class Migration29 : DbHelper.Migration { private fun modifyStudents(db: Database) { 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 {