Skip to content

Commit fd9c7b3

Browse files
committed
fix migration from previous app versions
1 parent 3a6aa2e commit fd9c7b3

File tree

1 file changed

+1
-0
lines changed
  • app/src/main/kotlin/com/simplemobiletools/launcher/databases

1 file changed

+1
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/launcher/databases/AppsDatabase.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ abstract class AppsDatabase : RoomDatabase() {
4040
private val MIGRATION_1_2 = object : Migration(1, 2) {
4141
override fun migrate(database: SupportSQLiteDatabase) {
4242
database.execSQL("ALTER TABLE home_screen_grid_items ADD COLUMN intent TEXT default '' NOT NULL")
43+
database.execSQL("ALTER TABLE home_screen_grid_items ADD COLUMN shortcut_id TEXT default '' NOT NULL")
4344
database.execSQL("ALTER TABLE home_screen_grid_items ADD COLUMN icon BLOB")
4445
}
4546
}

0 commit comments

Comments
 (0)