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:
parent
8dfb40a29d
commit
85090df088
1 changed files with 1 additions and 0 deletions
|
@ -1435,6 +1435,7 @@ public abstract class DB extends RoomDatabase {
|
||||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||||
Log.i("DB migration from version " + startVersion + " to " + endVersion);
|
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("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) {
|
.addMigrations(new Migration(151, 152) {
|
||||||
|
|
Loading…
Reference in a new issue