Skip to content
This repository was archived by the owner on Apr 20, 2024. It is now read-only.

Commit b403683

Browse files
Merge pull request #142 from nodes-vapor/feature/update-to-swift-5.2
Add typealias workaround for Swift 5.2
2 parents 8d49a21 + 94a40b2 commit b403683

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/AdminPanel/Models/AdminPanelUser/AdminPanelUser.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ extension AdminPanelUser: Migration {
5959
}
6060
}
6161
extension AdminPanelUser: MySQLModel {
62+
public typealias Database = MySQLDatabase
63+
6264
public static let createdAtKey: TimestampKey? = \.createdAt
6365
public static let updatedAtKey: TimestampKey? = \.updatedAt
6466
public static let deletedAtKey: TimestampKey? = \.deletedAt

0 commit comments

Comments
 (0)