Add app migration for SSRE2 capability.
This commit is contained in:
parent
9966bf2fbd
commit
54bbe48869
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue