We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a1f766 commit f3f8325Copy full SHA for f3f8325
Signal/src/environment/Migrations/OWS105AttachmentFilePaths.m
@@ -34,6 +34,9 @@ - (void)runUpWithTransaction:(YapDatabaseReadWriteTransaction *)transaction
34
35
DDLogInfo(@"Saving %zd attachment streams.", attachmentStreams.count);
36
37
+ // Persist the new localRelativeFilePath property of TSAttachmentStream.
38
+ // For performance, we want to upgrade all existing attachment streams in
39
+ // a single transaction.
40
for (TSAttachmentStream *attachmentStream in attachmentStreams) {
41
[attachmentStream saveWithTransaction:transaction];
42
}
0 commit comments