Add potential fix for some users in the v191 database migration.
Relates to #13034
This commit is contained in:
parent
50db945ef1
commit
69c4026f4d
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ object V191_UniqueMessageMigrationV2 : SignalDatabaseMigration {
|
|||
// We're dropping it to put everyone back on the same playing field.
|
||||
db.execSQL("DROP INDEX IF EXISTS message_unique_sent_from_thread")
|
||||
|
||||
// To aid people who may have bad old migration state
|
||||
db.execSQL("INSERT INTO message_fts(message_fts) VALUES ('rebuild')")
|
||||
|
||||
val stopwatch = Stopwatch("migration")
|
||||
|
||||
// Back in the day, we used to insert expiration updates with the same timestamp as the message that triggered them. To resolve the conflict, we can just
|
||||
|
|
Loading…
Add table
Reference in a new issue