mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
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…
Reference in New Issue