1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Needed for a workaround

This commit is contained in:
M66B 2023-02-02 21:55:43 +01:00
parent 18e642fc8f
commit 256ea4ac27

View file

@ -68,7 +68,7 @@ import javax.mail.internet.InternetAddress;
// https://developer.android.com/topic/libraries/architecture/room.html
@Database(
version = 266,
version = 267,
entities = {
EntityIdentity.class,
EntityAccount.class,
@ -2729,6 +2729,12 @@ public abstract class DB extends RoomDatabase {
db.execSQL("CREATE INDEX `index_message_forwarding` ON `message` (`forwarding`)");
createTriggers(db);
}
}).addMigrations(new Migration(266, 267) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
// Do nothing
}
}).addMigrations(new Migration(998, 999) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {