| import androidx.room.migration.AutoMigrationSpec |
| import androidx.room.migration.Migration |
| import androidx.sqlite.db.SupportSQLiteDatabase |
| import javax.`annotation`.processing.Generated |
| @Generated(value = ["androidx.room.RoomProcessor"]) |
| @Suppress(names = ["UNCHECKED_CAST", "DEPRECATION", "REDUNDANT_PROJECTION"]) |
| internal class MyDatabase_AutoMigration_1_2_Impl : Migration { |
| private val callback: AutoMigrationSpec |
| public constructor(callback: AutoMigrationSpec) : super(1, 2) { |
| public override fun migrate(db: SupportSQLiteDatabase): Unit { |
| db.execSQL("ALTER TABLE `Song` ADD COLUMN `artistId` INTEGER DEFAULT NULL") |
| callback.onPostMigrate(db) |