mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-03-19 12:40:17 +01:00
fix migration from previous app versions
This commit is contained in:
parent
3a6aa2e96e
commit
fd9c7b3787
@ -40,6 +40,7 @@ abstract class AppsDatabase : RoomDatabase() {
|
||||
private val MIGRATION_1_2 = object : Migration(1, 2) {
|
||||
override fun migrate(database: SupportSQLiteDatabase) {
|
||||
database.execSQL("ALTER TABLE home_screen_grid_items ADD COLUMN intent TEXT default '' NOT NULL")
|
||||
database.execSQL("ALTER TABLE home_screen_grid_items ADD COLUMN shortcut_id TEXT default '' NOT NULL")
|
||||
database.execSQL("ALTER TABLE home_screen_grid_items ADD COLUMN icon BLOB")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user