Fix v171 migration.

Copy-pasted from the old one, but forgot that the sms table no longer
exists...
This commit is contained in:
Greyson Parrelli
2023-01-12 10:23:10 -05:00
committed by Alex Hart
parent c099ad0aa7
commit bce2dd1d1b

View File

@@ -82,11 +82,6 @@ object V171_ThreadForeignKeyFix : SignalDatabaseMigration {
.where("thread_id = ?", secondaryId)
.run()
db.update("sms")
.values("thread_id" to primaryId)
.where("thread_id = ?", secondaryId)
.run()
db.update("pending_retry_receipts")
.values("thread_id" to primaryId)
.where("thread_id = ?", secondaryId)