mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
Rebuild FTS index in V239_MessageFullTextSearchEmojiSupport.
This commit is contained in:
committed by
Greyson Parrelli
parent
2d0e503b48
commit
b09d433d5b
@@ -43,6 +43,8 @@ object V239_MessageFullTextSearchEmojiSupport : SignalDatabaseMigration {
|
|||||||
|
|
||||||
db.execSQL("""CREATE VIRTUAL TABLE message_fts USING fts5(body, thread_id UNINDEXED, content=message, content_rowid=_id, tokenize = "unicode61 categories 'L* N* Co Sc So'")""")
|
db.execSQL("""CREATE VIRTUAL TABLE message_fts USING fts5(body, thread_id UNINDEXED, content=message, content_rowid=_id, tokenize = "unicode61 categories 'L* N* Co Sc So'")""")
|
||||||
|
|
||||||
|
db.execSQL("INSERT INTO message_fts(message_fts) VALUES ('rebuild')")
|
||||||
|
|
||||||
db.execSQL(
|
db.execSQL(
|
||||||
"""
|
"""
|
||||||
CREATE TRIGGER message_ai AFTER INSERT ON message BEGIN
|
CREATE TRIGGER message_ai AFTER INSERT ON message BEGIN
|
||||||
|
|||||||
Reference in New Issue
Block a user