Add app migration for SSRE2 capability.

This commit is contained in:
Greyson Parrelli 2025-01-13 12:41:33 -05:00 committed by Cody Henthorne
parent 9966bf2fbd
commit 54bbe48869

View file

@ -167,9 +167,10 @@ public class ApplicationMigrations {
static final int BAD_E164_FIX = 123;
static final int GPB_TOKEN_MIGRATION = 124;
static final int GROUP_ADD_MIGRATION = 125;
static final int SSRE2_CAPABILITY = 126;
}
public static final int CURRENT_VERSION = 125;
public static final int CURRENT_VERSION = 126;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@ -768,6 +769,10 @@ public class ApplicationMigrations {
jobs.put(Version.GROUP_ADD_MIGRATION, new DatabaseMigrationJob());
}
if (lastSeenVersion < Version.SSRE2_CAPABILITY) {
jobs.put(Version.SSRE2_CAPABILITY, new AttributesMigrationJob());
}
return jobs;
}