Add support for admin delete.

This commit is contained in:
Michelle Tang
2026-02-20 14:44:34 -05:00
committed by Cody Henthorne
parent 1968438ebb
commit 071fbfd916
45 changed files with 648 additions and 132 deletions

View File

@@ -193,9 +193,10 @@ public class ApplicationMigrations {
static final int ATTACHMENT_HASH_BACKFILL_2 = 149;
static final int SVR2_ENCLAVE_UPDATE_5 = 150;
static final int STICKER_PACK_ADDITION_2 = 151;
static final int DELETED_BY_DB_MIGRATION = 152;
}
public static final int CURRENT_VERSION = 151;
public static final int CURRENT_VERSION = 152;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -894,6 +895,10 @@ public class ApplicationMigrations {
jobs.put(Version.STICKER_PACK_ADDITION_2, new StickerPackAddition2MigrationJob());
}
if (lastSeenVersion < Version.DELETED_BY_DB_MIGRATION) {
jobs.put(Version.DELETED_BY_DB_MIGRATION, new DatabaseMigrationJob());
}
return jobs;
}