Added login before send option

This commit is contained in:
M66B
2024-05-22 10:03:40 +02:00
parent 562c6e51e6
commit 2a5e1685e0
7 changed files with 3083 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ import javax.mail.internet.InternetAddress;
// https://developer.android.com/topic/libraries/architecture/room.html
@Database(
version = 293,
version = 294,
entities = {
EntityIdentity.class,
EntityAccount.class,
@@ -3004,6 +3004,12 @@ public abstract class DB extends RoomDatabase {
logMigration(startVersion, endVersion);
db.execSQL("ALTER TABLE `message` ADD COLUMN `last_touched` INTEGER");
}
}).addMigrations(new Migration(293, 294) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("ALTER TABLE `identity` ADD COLUMN `login` INTEGER NOT NULL DEFAULT 0");
}
}).addMigrations(new Migration(998, 999) {
@Override
public void migrate(@NonNull SupportSQLiteDatabase db) {