mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-04-24 07:07:24 +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) {
|
private val MIGRATION_1_2 = object : Migration(1, 2) {
|
||||||
override fun migrate(db: SupportSQLiteDatabase) {
|
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