Skip to content

Commit bb61ff4

Browse files
committed
Mark EnablePostGISMigrationError as Sendable
1 parent e35f5cc commit bb61ff4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ app.migrations.add(EnablePostGISMigration())
4141
Add a type to your model
4242

4343
```swift
44-
final class User: Model {
44+
final class User: Model, @unchecked Sendable {
4545
static let schema = "user"
4646

4747
@ID(key: .id)

Sources/FluentPostGIS/Support/EnablePostGISMigration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import SQLKit
44
public struct EnablePostGISMigration: AsyncMigration, Sendable {
55
public init() {}
66

7-
public enum EnablePostGISMigrationError: Error {
7+
public enum EnablePostGISMigrationError: Error, Sendable {
88
case notSqlDatabase
99
}
1010

0 commit comments

Comments
 (0)