Add quotes around migration table and column names
This commit is contained in:
parent
d69d25907b
commit
68a2833a5b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ abstract class AppDatabase : RoomDatabase() {
|
|||
|
||||
private val MIGRATION_1_2 = object : Migration(1, 2) {
|
||||
override fun migrate(db: SupportSQLiteDatabase) {
|
||||
db.execSQL("ALTER TABLE timers ADD COLUMN oneShot INTEGER NOT NULL DEFAULT 0")
|
||||
db.execSQL("ALTER TABLE `timers` ADD COLUMN `oneShot` INTEGER NOT NULL DEFAULT 0")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue