Prepare for the worst

pull/199/head
M66B 4 years ago
parent 98a5ec7c0f
commit 996fee96fa

@ -2020,6 +2020,16 @@ public abstract class DB extends RoomDatabase {
db.execSQL("ALTER TABLE `answer` ADD COLUMN `applied` INTEGER NOT NULL DEFAULT 0");
db.execSQL("ALTER TABLE `answer` ADD COLUMN `last_applied` INTEGER");
}
}).addMigrations(new Migration(197, 198) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
Log.i("DB migration from version " + startVersion + " to " + endVersion);
db.execSQL("UPDATE account" +
" SET partial_fetch = 0" +
" WHERE host = 'imap.vodafonemail.de'" +
" OR host = 'imap.arcor.de'" +
" OR host = 'imap.nexgo.de'");
}
});
}

@ -861,7 +861,8 @@
name="Vodafone.de/Arcor"
appPassword="true"
domain="arcor\\.de,vodafone\\.de,vodafonemail\\.de,nexgo\\.de"
link="https://www.vodafone.de/hilfe/email/abrufen-senden.html#wie-lauten-die-server-einstellungen-fuer-vodafone-e-mail">
link="https://www.vodafone.de/hilfe/email/abrufen-senden.html#wie-lauten-die-server-einstellungen-fuer-vodafone-e-mail"
partial="true">
<imap
host="imap.vodafonemail.de"
port="993"

Loading…
Cancel
Save