Skip to content

Commit bc8e1f4

Browse files
authored
FluentPostgresDriver 2.0 (#105)
* FluentPostgresDriver 2.0 * add circle ci * fix linux main * move to master branch * use psql hostname on linux
1 parent 5b55689 commit bc8e1f4

25 files changed

+204
-1225
lines changed

β€ŽPackage.swiftβ€Ž

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
// swift-tools-version:4.0
1+
// swift-tools-version:5.0
22
import PackageDescription
33

44
let package = Package(
5-
name: "FluentPostgreSQL",
5+
name: "fluent-postgres-driver",
66
products: [
7-
// Swift ORM for PostgreSQL (built on top of Fluent ORM framework)
8-
.library(name: "FluentPostgreSQL", targets: ["FluentPostgreSQL"]),
7+
.library(name: "FluentPostgresDriver", targets: ["FluentPostgresDriver"]),
98
],
109
dependencies: [
11-
// 🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
12-
.package(url: "https://github.com/vapor/core.git", from: "3.0.0"),
13-
14-
// Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations.
15-
.package(url: "https://github.com/vapor/fluent.git", from: "3.0.0"),
16-
17-
// 🐘 Non-blocking, event-driven Swift client for PostgreSQL.
18-
.package(url: "https://github.com/vapor/postgresql.git", from: "1.0.0"),
10+
.package(url: "https://github.com/vapor/fluent-kit.git", .branch("master")),
11+
.package(url: "https://github.com/vapor/postgresql.git", .branch("master")),
1912
],
2013
targets: [
21-
.target(name: "FluentPostgreSQL", dependencies: ["Async", "FluentSQL", "PostgreSQL"]),
22-
.testTarget(name: "FluentPostgreSQLTests", dependencies: ["FluentBenchmark", "FluentPostgreSQL"]),
14+
.target(name: "FluentPostgresDriver", dependencies: ["FluentKit", "FluentSQL", "PostgresKit"]),
15+
.testTarget(name: "FluentPostgresDriverTests", dependencies: ["FluentBenchmark", "FluentPostgresDriver"]),
2316
]
2417
)

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
<img src="https://circleci.com/gh/vapor/fluent-postgresql.svg?style=shield" alt="Continuous Integration">
1616
</a>
1717
<a href="https://swift.org">
18-
<img src="http://img.shields.io/badge/swift-4.1-brightgreen.svg" alt="Swift 4.1">
18+
<img src="http://img.shields.io/badge/swift-5-brightgreen.svg" alt="Swift 5">
1919
</a>
2020
</p>

β€ŽSources/FluentPostgreSQL/Deprecated.swiftβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

β€ŽSources/FluentPostgreSQL/Exports.swiftβ€Ž

Lines changed: 0 additions & 2 deletions
This file was deleted.

β€ŽSources/FluentPostgreSQL/Fluent+PostgreSQLUpsert.swiftβ€Ž

Lines changed: 0 additions & 21 deletions
This file was deleted.

β€ŽSources/FluentPostgreSQL/FluentPostgreSQLProvider.swiftβ€Ž

Lines changed: 0 additions & 52 deletions
This file was deleted.

β€ŽSources/FluentPostgreSQL/FluentPostgreSQLQuery.swiftβ€Ž

Lines changed: 0 additions & 59 deletions
This file was deleted.

β€ŽSources/FluentPostgreSQL/FluentPostgreSQLSchema.swiftβ€Ž

Lines changed: 0 additions & 34 deletions
This file was deleted.

β€ŽSources/FluentPostgreSQL/PostgreSQLDatabase+JoinSupporting.swiftβ€Ž

Lines changed: 0 additions & 7 deletions
This file was deleted.

β€ŽSources/FluentPostgreSQL/PostgreSQLDatabase+KeyedCacheSupporting.swiftβ€Ž

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
Β (0)