Skip to content

Commit 5e2ad7c

Browse files
authored
Remove PostgresMigrations and use separate repo (#48)
* Minor README update * Use PostgresMigrations repo, and remove local version
1 parent 8df2c78 commit 5e2ad7c

File tree

8 files changed

+5
-1184
lines changed

8 files changed

+5
-1184
lines changed

Package.swift

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,30 @@ let package = Package(
99
name: "hummingbird-postgres",
1010
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17)],
1111
products: [
12-
.library(name: "HummingbirdPostgres", targets: ["HummingbirdPostgres"]),
13-
.library(name: "PostgresMigrations", targets: ["PostgresMigrations"]),
12+
.library(name: "HummingbirdPostgres", targets: ["HummingbirdPostgres"])
1413
],
1514
dependencies: [
1615
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.5.0"),
16+
.package(url: "https://github.com/hummingbird-project/postgres-migrations", from: "0.1.0"),
1717
.package(url: "https://github.com/vapor/postgres-nio", from: "1.25.0"),
1818
],
1919
targets: [
2020
.target(
2121
name: "HummingbirdPostgres",
2222
dependencies: [
23-
"PostgresMigrations",
23+
.product(name: "PostgresMigrations", package: "postgres-migrations"),
2424
.product(name: "Hummingbird", package: "hummingbird"),
2525
.product(name: "PostgresNIO", package: "postgres-nio"),
2626
],
2727
swiftSettings: swiftSettings
2828
),
29-
.target(
30-
name: "PostgresMigrations",
31-
dependencies: [
32-
.product(name: "PostgresNIO", package: "postgres-nio")
33-
],
34-
swiftSettings: swiftSettings
35-
),
3629
.testTarget(
3730
name: "HummingbirdPostgresTests",
3831
dependencies: [
3932
"HummingbirdPostgres",
4033
.product(name: "HummingbirdTesting", package: "hummingbird"),
4134
]
4235
),
43-
.testTarget(
44-
name: "PostgresMigrationsTests",
45-
dependencies: [
46-
"PostgresMigrations"
47-
]
48-
),
4936
],
5037
swiftLanguageVersions: [.v5, .version("6")]
5138
)

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,18 @@
1818

1919
# Hummingbird Postgres
2020

21-
Hummingbird postgres provides implementations of the job and persist frameworks from Hummingbird and a database migration system all using the `PostgresClient` from PostgresNIO.
21+
HummingbirdPostgres provides implementations of the persist frameworks from Hummingbird using `PostgresClient` from PostgresNIO.
2222

2323
## Local Development setup
2424

2525
Setup run
2626
```sh
2727
docker compose up
28-
or
29-
docker-compose up
3028
```
31-
Tear down
3229

30+
Tear down
3331
```sh
3432
docker compose down
35-
or
36-
docker-compose down
3733
```
3834

3935
## Documentation

Sources/PostgresMigrations/Deprecations.swift

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

Sources/PostgresMigrations/Migration.swift

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

Sources/PostgresMigrations/MigrationError.swift

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

Sources/PostgresMigrations/MigrationService.swift

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

0 commit comments

Comments
 (0)