| import androidx.annotation.NonNull; |
| import androidx.room.migration.AutoMigrationCallback; |
| import androidx.room.migration.Migration; |
| import androidx.sqlite.db.SupportSQLiteDatabase; |
| import java.lang.Override; |
| import java.lang.SuppressWarnings; |
| import javax.annotation.processing.Generated; |
| @Generated("androidx.room.RoomProcessor") |
| @SuppressWarnings({"unchecked", "deprecation"}) |
| class ValidAutoMigrationWithDefault_Impl extends Migration implements AutoMigrationCallback { |
| public ValidAutoMigrationWithDefault_Impl() { |
| public void migrate(@NonNull SupportSQLiteDatabase database) { |
| database.execSQL("ALTER TABLE `Song` ADD COLUMN `artistId` INTEGER NOT NULL DEFAULT 0"); |