From fd9c7b37870e9a099974d3e7c2ea44617c9d2c44 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 9 Oct 2022 20:04:47 +0200 Subject: [PATCH] fix migration from previous app versions --- .../com/simplemobiletools/launcher/databases/AppsDatabase.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/launcher/databases/AppsDatabase.kt b/app/src/main/kotlin/com/simplemobiletools/launcher/databases/AppsDatabase.kt index bd07a83..bf0baf1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/launcher/databases/AppsDatabase.kt +++ b/app/src/main/kotlin/com/simplemobiletools/launcher/databases/AppsDatabase.kt @@ -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") } }