mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Another attempt at rebuilding the FTS tables.
This commit is contained in:
committed by
Nicholas Tinsley
parent
e263d7da73
commit
46753fc617
@@ -152,9 +152,10 @@ public class ApplicationMigrations {
|
||||
static final int DELETE_SYNC_CAPABILITY = 107;
|
||||
static final int REBUILD_MESSAGE_FTS_INDEX_5 = 108;
|
||||
static final int EXPIRE_TIMER_CAPABILITY = 109;
|
||||
static final int REBUILD_MESSAGE_FTS_INDEX_6 = 110;
|
||||
}
|
||||
|
||||
public static final int CURRENT_VERSION = 109;
|
||||
public static final int CURRENT_VERSION = 110;
|
||||
|
||||
/**
|
||||
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
|
||||
@@ -693,6 +694,10 @@ public class ApplicationMigrations {
|
||||
jobs.put(Version.EXPIRE_TIMER_CAPABILITY, new AttributesMigrationJob());
|
||||
}
|
||||
|
||||
if (lastSeenVersion < Version.REBUILD_MESSAGE_FTS_INDEX_6) {
|
||||
jobs.put(Version.REBUILD_MESSAGE_FTS_INDEX_6, new RebuildMessageSearchIndexMigrationJob());
|
||||
}
|
||||
|
||||
return jobs;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user