1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-27 08:23:24 +00:00

Restart keep-alive tuning

This commit is contained in:
M66B 2020-04-01 11:26:27 +02:00
parent 8dfb40a29d
commit 85090df088

View file

@ -1435,6 +1435,7 @@ public abstract class DB extends RoomDatabase {
public void migrate(@NonNull SupportSQLiteDatabase db) {
Log.i("DB migration from version " + startVersion + " to " + endVersion);
db.execSQL("ALTER TABLE `account` ADD COLUMN `keep_alive_succeeded` INTEGER NOT NULL DEFAULT 0");
db.execSQL("UPDATE account SET keep_alive_failed = 0, keep_alive_ok = 0");
}
})
.addMigrations(new Migration(151, 152) {