Revert "Allow DB downgrade"

This reverts commit 31a91cfc10.
master
M66B 2 months ago
parent 31a91cfc10
commit ada1d1fc9d

@ -3046,11 +3046,6 @@ public abstract class DB extends RoomDatabase {
db.execSQL("UPDATE account SET keep_alive_noop = 1" + db.execSQL("UPDATE account SET keep_alive_noop = 1" +
" WHERE pop = " + EntityAccount.TYPE_IMAP); " WHERE pop = " + EntityAccount.TYPE_IMAP);
} }
}).addMigrations(new Migration(300, 299) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
}
}).addMigrations(new Migration(998, 999) { }).addMigrations(new Migration(998, 999) {
@Override @Override
public void migrate(@NonNull SupportSQLiteDatabase db) { public void migrate(@NonNull SupportSQLiteDatabase db) {

Loading…
Cancel
Save