forked from github/wulkanowy-mirror
Fix 29 migration (#146)
This commit is contained in:
parent
4b93a76693
commit
c4792289ef
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user