Migrate to the new KBS and CDS enclaves.

This commit is contained in:
Greyson Parrelli
2022-01-24 14:46:51 -05:00
committed by GitHub
parent 642d37edb2
commit 35c5a8106d
7 changed files with 77 additions and 20 deletions

View File

@@ -96,9 +96,10 @@ public class ApplicationMigrations {
static final int JUMBOMOJI_DOWNLOAD = 52;
static final int FIX_EMOJI_QUALITY = 53;
static final int CHANGE_NUMBER_CAPABILITY_4 = 54;
static final int KBS_MIGRATION = 55;
}
public static final int CURRENT_VERSION = 54;
public static final int CURRENT_VERSION = 55;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -413,7 +414,11 @@ public class ApplicationMigrations {
}
if (lastSeenVersion < Version.CHANGE_NUMBER_CAPABILITY_4) {
jobs.put(Version.CHANGE_NUMBER_CAPABILITY_4, new AttributesMigrationJob());
jobs.put(Version.CHANGE_NUMBER_CAPABILITY_4,new AttributesMigrationJob());
}
if (lastSeenVersion < Version.KBS_MIGRATION) {
jobs.put(Version.KBS_MIGRATION, new KbsEnclaveMigrationJob());
}
return jobs;