Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,30 @@ let package = Package(
name: "hummingbird-postgres",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17)],
products: [
.library(name: "HummingbirdPostgres", targets: ["HummingbirdPostgres"]),
.library(name: "PostgresMigrations", targets: ["PostgresMigrations"]),
.library(name: "HummingbirdPostgres", targets: ["HummingbirdPostgres"])
],
dependencies: [
.package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.5.0"),
.package(url: "https://github.com/hummingbird-project/postgres-migrations", from: "0.1.0"),
.package(url: "https://github.com/vapor/postgres-nio", from: "1.25.0"),
],
targets: [
.target(
name: "HummingbirdPostgres",
dependencies: [
"PostgresMigrations",
.product(name: "PostgresMigrations", package: "postgres-migrations"),
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "PostgresNIO", package: "postgres-nio"),
],
swiftSettings: swiftSettings
),
.target(
name: "PostgresMigrations",
dependencies: [
.product(name: "PostgresNIO", package: "postgres-nio")
],
swiftSettings: swiftSettings
),
.testTarget(
name: "HummingbirdPostgresTests",
dependencies: [
"HummingbirdPostgres",
.product(name: "HummingbirdTesting", package: "hummingbird"),
]
),
.testTarget(
name: "PostgresMigrationsTests",
dependencies: [
"PostgresMigrations"
]
),
],
swiftLanguageVersions: [.v5, .version("6")]
)
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,18 @@

# Hummingbird Postgres

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

## Local Development setup

Setup run
```sh
docker compose up
or
docker-compose up
```
Tear down

Tear down
```sh
docker compose down
or
docker-compose down
```

## Documentation
Expand Down
26 changes: 0 additions & 26 deletions Sources/PostgresMigrations/Deprecations.swift

This file was deleted.

65 changes: 0 additions & 65 deletions Sources/PostgresMigrations/Migration.swift

This file was deleted.

51 changes: 0 additions & 51 deletions Sources/PostgresMigrations/MigrationError.swift

This file was deleted.

52 changes: 0 additions & 52 deletions Sources/PostgresMigrations/MigrationService.swift

This file was deleted.

Loading
Loading