Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 47985c0

Browse files
move postgresql string model
1 parent 1128309 commit 47985c0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

‎Sources/FluentPostgreSQL/PostgreSQLModel.swift‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@ extension PostgreSQLModel {
88
public static var idKey: IDKey { return \.id }
99
}
1010

11-
public protocol PostgreSQLStringModel: Model where Self.Database == PostgreSQLDatabase, Self.ID == String {
12-
/// This model's unique identifier.
13-
var id: String? { get set }
14-
}
15-
16-
extension PostgreSQLStringModel {
17-
/// See `Model`.
18-
public static var idKey: IDKey { return \.id }
19-
}
20-
21-
2211
public protocol PostgreSQLPivot: Pivot, PostgreSQLModel { }
2312

2413
public protocol PostgreSQLMigration: Migration where Self.Database == PostgreSQLDatabase { }

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /