mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix V190 database migration with a new migration.
This commit is contained in:
committed by
Cody Henthorne
parent
7866851f5d
commit
9ba2724d0a
@@ -130,9 +130,10 @@ public class ApplicationMigrations {
|
||||
static final int BACKUP_JITTER = 86;
|
||||
static final int PREKEY_SYNC = 87;
|
||||
static final int DEDUPE_DB_MIGRATION = 88;
|
||||
static final int DEDUPE_DB_MIGRATION_2 = 89;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 88;
|
||||
public static final int CURRENT_VERSION = 89;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -586,6 +587,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.DEDUPE_DB_MIGRATION, new DatabaseMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.DEDUPE_DB_MIGRATION_2) {
|
||||
jobs.put(Version.DEDUPE_DB_MIGRATION_2, new DatabaseMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user