diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V171_ThreadForeignKeyFix.kt b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V171_ThreadForeignKeyFix.kt index a7235359c..265bb558b 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V171_ThreadForeignKeyFix.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/helpers/migration/V171_ThreadForeignKeyFix.kt @@ -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)