Simplification

This commit is contained in:
M66B 2023-12-09 08:59:36 +01:00
parent 5c74305c2a
commit fd0676d286
1 changed files with 1 additions and 1 deletions

View File

@ -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