removing an unneeded apply, as it contains only 1 line

This commit is contained in:
tibbi 2021-10-08 18:36:04 +02:00
parent 0b1af74053
commit f7c770df7a

View File

@ -81,9 +81,7 @@ abstract class NotesDatabase : RoomDatabase() {
private val MIGRATION_3_4 = object : Migration(3, 4) {
override fun migrate(database: SupportSQLiteDatabase) {
database.apply {
execSQL("ALTER TABLE widgets ADD COLUMN widget_show_title INTEGER NOT NULL DEFAULT 0")
}
database.execSQL("ALTER TABLE widgets ADD COLUMN widget_show_title INTEGER NOT NULL DEFAULT 0")
}
}
}