mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-04-25 15:38:55 +02:00
Add quotes around migration table and column names
This commit is contained in:
parent
d69d25907b
commit
68a2833a5b
@ -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…
x
Reference in New Issue
Block a user