diff --git a/Signal/src/environment/Migrations/OWS105AttachmentFilePaths.m b/Signal/src/environment/Migrations/OWS105AttachmentFilePaths.m index 41cc45db9..f096e3ae8 100644 --- a/Signal/src/environment/Migrations/OWS105AttachmentFilePaths.m +++ b/Signal/src/environment/Migrations/OWS105AttachmentFilePaths.m @@ -34,6 +34,9 @@ static NSString *const OWS105AttachmentFilePathsMigrationId = @"105"; DDLogInfo(@"Saving %zd attachment streams.", attachmentStreams.count); + // Persist the new localRelativeFilePath property of TSAttachmentStream. + // For performance, we want to upgrade all existing attachment streams in + // a single transaction. for (TSAttachmentStream *attachmentStream in attachmentStreams) { [attachmentStream saveWithTransaction:transaction]; }