Skip to content

Commit

Permalink
Fix v171 migration.
Browse files Browse the repository at this point in the history
Copy-pasted from the old one, but forgot that the sms table no longer
exists...
  • Loading branch information
greyson-signal authored and alex-signal committed Jan 12, 2023
1 parent c099ad0 commit bce2dd1
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bce2dd1

Please sign in to comment.