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

Commit

Permalink
Merge pull request #142 from nodes-vapor/feature/update-to-swift-5.2
Browse files Browse the repository at this point in the history
Add typealias workaround for Swift 5.2
  • Loading branch information
siemensikkema authored Apr 29, 2020
2 parents 8d49a21 + 94a40b2 commit b403683
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/AdminPanel/Models/AdminPanelUser/AdminPanelUser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ extension AdminPanelUser: Migration {
}
}
extension AdminPanelUser: MySQLModel {
public typealias Database = MySQLDatabase

public static let createdAtKey: TimestampKey? = \.createdAt
public static let updatedAtKey: TimestampKey? = \.updatedAt
public static let deletedAtKey: TimestampKey? = \.deletedAt
Expand Down

0 comments on commit b403683

Please sign in to comment.