Migrate to new SVR2 enclave.

This commit is contained in:
Greyson Parrelli
2024-10-07 21:13:11 -04:00
parent 72ea4744f6
commit e90560c6cc
3 changed files with 24 additions and 8 deletions

View File

@@ -158,9 +158,10 @@ public class ApplicationMigrations {
static final int CALL_LINK_STORAGE_SYNC = 114;
static final int WALLPAPER_MIGRATION = 115;
static final int BACKFILL_DIGESTS_V3 = 116;
static final int SVR2_ENCLAVE_UPDATE_2 = 117;
}
public static final int CURRENT_VERSION = 116;
public static final int CURRENT_VERSION = 117;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -723,6 +724,10 @@ public class ApplicationMigrations {
jobs.put(Version.BACKFILL_DIGESTS_V3, new BackfillDigestsForDuplicatesMigrationJob());
}
if (lastSeenVersion < Version.SVR2_ENCLAVE_UPDATE_2) {
jobs.put(Version.SVR2_ENCLAVE_UPDATE_2, new Svr2MirrorMigrationJob());
}
return jobs;
}