Skip to content

Commit

Permalink
perf: Index thread date
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Mar 30, 2023
1 parent 7561c74 commit a3f662c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MailCore/Models/Thread.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Thread: Object, Decodable, Identifiable {
@Persisted public var cc: List<Recipient>
@Persisted public var bcc: List<Recipient>
@Persisted public var subject: String?
@Persisted public var date: Date
@Persisted(indexed: true) public var date: Date
@Persisted public var hasAttachments: Bool
@Persisted public var hasSwissTransferAttachments: Bool
@Persisted public var hasDrafts: Bool
Expand Down

0 comments on commit a3f662c

Please sign in to comment.