Hide in unified folder list if all messages are read

This commit is contained in:
M66B
2022-04-17 18:34:32 +02:00
parent 1ee4717659
commit a40aa805ac
4 changed files with 17 additions and 12 deletions

View File

@@ -2305,7 +2305,6 @@ public abstract class DB extends RoomDatabase {
public void migrate(@NonNull SupportSQLiteDatabase db) {
logMigration(startVersion, endVersion);
db.execSQL("ALTER TABLE `folder` ADD COLUMN `hide_seen` INTEGER NOT NULL DEFAULT 0");
db.execSQL("UPDATE `folder` SET hide = 0 WHERE unified");
}
}).addMigrations(new Migration(230, 231) {
@Override