Skip to content

Commit f3f8325

Browse files
committed
Respond to CR.
// FREEBIE
1 parent 6a1f766 commit f3f8325

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Signal/src/environment/Migrations/OWS105AttachmentFilePaths.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ - (void)runUpWithTransaction:(YapDatabaseReadWriteTransaction *)transaction
3434

3535
DDLogInfo(@"Saving %zd attachment streams.", attachmentStreams.count);
3636

37+
// Persist the new localRelativeFilePath property of TSAttachmentStream.
38+
// For performance, we want to upgrade all existing attachment streams in
39+
// a single transaction.
3740
for (TSAttachmentStream *attachmentStream in attachmentStreams) {
3841
[attachmentStream saveWithTransaction:transaction];
3942
}

0 commit comments

Comments
 (0)