Simplification

pull/214/head
M66B 1 year ago
parent 5c74305c2a
commit fd0676d286

@ -2279,7 +2279,7 @@ public abstract class DB extends RoomDatabase {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("ALTER TABLE `log` ADD COLUMN `type` INTEGER NOT NULL DEFAULT " + EntityLog.Type.General.ordinal());
db.execSQL("ALTER TABLE `log` ADD COLUMN `type` INTEGER NOT NULL DEFAULT 0");
}
}).addMigrations(new Migration(208, 209) {
@Override

Loading…
Cancel
Save