Skip to content

Commit fca8e59

Browse files
authored
Make trigger types sendable. (pointfreeco#131)
1 parent 284fd30 commit fca8e59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/StructuredQueriesCore/Triggers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ extension Table {
238238
/// functions.
239239
///
240240
/// To learn more, see <doc:Triggers>.
241-
public struct TemporaryTrigger<On: Table>: Statement {
241+
public struct TemporaryTrigger<On: Table>: Sendable, Statement {
242242
public typealias From = Never
243243
public typealias Joins = ()
244244
public typealias QueryValue = ()
@@ -251,7 +251,7 @@ public struct TemporaryTrigger<On: Table>: Statement {
251251
/// The database event used in a trigger.
252252
///
253253
/// To learn more, see <doc:Triggers>.
254-
public struct Operation: QueryExpression {
254+
public struct Operation: Sendable, QueryExpression {
255255
public typealias QueryValue = ()
256256

257257
public enum _Old: AliasName { public static var aliasName: String { "old" } }

0 commit comments

Comments
 (0)