Fix emoji full text search.

Co-authored-by: Nolan Woods <innovate.invent@gmail.com>
This commit is contained in:
Greyson Parrelli
2024-08-06 13:21:08 -04:00
committed by mtang-signal
parent 8dc910e71d
commit 2c11a27897
4 changed files with 69 additions and 4 deletions

View File

@@ -150,9 +150,10 @@ public class ApplicationMigrations {
static final int SUBSCRIBER_ID = 105;
static final int CONTACT_LINK_REBUILD = 106;
static final int DELETE_SYNC_CAPABILITY = 107;
static final int REBUILD_MESSAGE_FTS_INDEX_5 = 108;
}
public static final int CURRENT_VERSION = 107;
public static final int CURRENT_VERSION = 108;
/**
* This *must* be called after the {@link JobManager} has been instantiated, but *before* the call
@@ -683,6 +684,10 @@ public class ApplicationMigrations {
jobs.put(Version.DELETE_SYNC_CAPABILITY, new AttributesMigrationJob());
}
if (lastSeenVersion < Version.REBUILD_MESSAGE_FTS_INDEX_5) {
jobs.put(Version.REBUILD_MESSAGE_FTS_INDEX_5, new RebuildMessageSearchIndexMigrationJob());
}
return jobs;
}