Skip to content

Commit

Permalink
codablekit updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Mar 27, 2018
1 parent 6f577ef commit b979339
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let package = Package(
.package(url: "https://github.com/vapor/mysql.git", from: "3.0.0-rc.2"),
],
targets: [
.target(name: "FluentMySQL", dependencies: ["Async", "CodableKit", "Fluent", "FluentSQL", "MySQL"]),
.target(name: "FluentMySQL", dependencies: ["Async", "Fluent", "FluentSQL", "MySQL"]),
.testTarget(name: "FluentMySQLTests", dependencies: ["FluentBenchmark", "FluentMySQL"]),
]
)
6 changes: 0 additions & 6 deletions Sources/FluentMySQL/MySQLModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ public protocol MySQLModel: Model where Self.Database == MySQLDatabase, Self.ID
}

extension MySQLModel {
/// See `Model.ID`
public typealias ID = Int

/// See `Model.idKey`
public static var idKey: IDKey { return \.id }
}
Expand All @@ -27,9 +24,6 @@ public protocol MySQLUUIDModel: Model where Self.Database == MySQLDatabase, Self
}

extension MySQLUUIDModel {
/// See `Model.ID`
public typealias ID = UUID

/// See `Model.idKey`
public static var idKey: IDKey { return \.id }
}
Expand Down
2 changes: 2 additions & 0 deletions Tests/FluentMySQLTests/FluentMySQLTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import FluentBenchmark
import Dispatch
import FluentMySQL
import COperatingSystem
import Service
import Console

class FluentMySQLTests: XCTestCase {
var benchmarker: Benchmarker<MySQLDatabase>!
Expand Down

0 comments on commit b979339

Please sign in to comment.