Send DSN to return path address

This commit is contained in:
M66B
2021-02-01 11:54:43 +01:00
parent be7d139f5d
commit c7040d1af1
7 changed files with 2387 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ import static eu.faircode.email.ServiceAuthenticator.AUTH_TYPE_PASSWORD;
// https://developer.android.com/topic/libraries/architecture/room.html
@Database(
version = 185,
version = 186,
entities = {
EntityIdentity.class,
EntityAccount.class,
@@ -1816,6 +1816,13 @@ public abstract class DB extends RoomDatabase {
Log.i("DB migration from version " + startVersion + " to " + endVersion);
db.execSQL("ALTER TABLE `message` ADD COLUMN `notes` TEXT");
}
})
.addMigrations(new Migration(185, 186) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
Log.i("DB migration from version " + startVersion + " to " + endVersion);
db.execSQL("ALTER TABLE `message` ADD COLUMN `return_path` TEXT");
}
});
}