Swapped the MySQL package dependencies for PostgreSQL in Persistence package.
This commit is contained in:
@@ -21,8 +21,8 @@ let package = Package(
|
||||
from: "2.0.0"
|
||||
),
|
||||
.package(
|
||||
url: "https://github.com/vapor/fluent-mysql-driver.git",
|
||||
from: "4.8.0"
|
||||
url: "https://github.com/vapor/fluent-postgres-driver.git",
|
||||
from: "2.12.0"
|
||||
),
|
||||
.package(
|
||||
url: "https://github.com/vapor/fluent-sqlite-driver.git",
|
||||
@@ -33,12 +33,16 @@ let package = Package(
|
||||
from: "3.36.0"
|
||||
),
|
||||
.package(
|
||||
url: "https://github.com/vapor/mysql-nio.git",
|
||||
from: "1.7.0"
|
||||
url: "https://github.com/vapor/postgres-nio.git",
|
||||
from: "1.33.0"
|
||||
),
|
||||
.package(
|
||||
url: "https://github.com/apple/swift-nio.git",
|
||||
from: "2.65.0"
|
||||
from: "2.81.0"
|
||||
),
|
||||
.package(
|
||||
url: "https://github.com/apple/swift-nio-ssl.git",
|
||||
from: "2.25.0"
|
||||
),
|
||||
],
|
||||
targets: [
|
||||
@@ -50,8 +54,8 @@ let package = Package(
|
||||
package: "hummingbird-fluent"
|
||||
),
|
||||
.product(
|
||||
name: "FluentMySQLDriver",
|
||||
package: "fluent-mysql-driver"
|
||||
name: "FluentPostgresDriver",
|
||||
package: "fluent-postgres-driver"
|
||||
),
|
||||
.product(
|
||||
name: "FluentSQLiteDriver",
|
||||
@@ -69,8 +73,8 @@ let package = Package(
|
||||
dependencies: [
|
||||
.byName(name: "Persistence"),
|
||||
.product(
|
||||
name: "MySQLNIO",
|
||||
package: "mysql-nio"
|
||||
name: "PostgresNIO",
|
||||
package: "postgres-nio"
|
||||
),
|
||||
.product(
|
||||
name: "NIOCore",
|
||||
@@ -80,6 +84,10 @@ let package = Package(
|
||||
name: "NIOPosix",
|
||||
package: "swift-nio"
|
||||
),
|
||||
.product(
|
||||
name: "NIOSSL",
|
||||
package: "swift-nio-ssl"
|
||||
),
|
||||
],
|
||||
path: "Tests"
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user