mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Prepare raw fetch for Yahoo/AOL
This commit is contained in:
@@ -2747,6 +2747,13 @@ public abstract class DB extends RoomDatabase {
|
||||
logMigration(startVersion, endVersion);
|
||||
db.execSQL("ALTER TABLE `message` ADD COLUMN `signedby` TEXT");
|
||||
}
|
||||
}).addMigrations(new Migration(269, 270) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
logMigration(startVersion, endVersion);
|
||||
db.execSQL("UPDATE account SET raw_fetch = 1" +
|
||||
" WHERE host = 'imap.mail.yahoo.com' OR host = 'imap.aol.com'");
|
||||
}
|
||||
}).addMigrations(new Migration(998, 999) {
|
||||
@Override
|
||||
public void migrate(@NonNull SupportSQLiteDatabase db) {
|
||||
|
||||
Reference in New Issue
Block a user