Skip to content

Conversation

ccounterman
Copy link

I wanted to use Postgres-StORM for my web project, and also use Perfect-Turnstile-PostgreSQL for authentication. But I don't want them to use the same Postgres servers.

I used the SQLite StORM implementation as a model and added this code. It works for my needs now.

But I haven't figured out how to substitute my fork for yours, except by modifying the Xcode project.
I don't know how to get the dependencies adjusted. Here's my Package.swift:

import PackageDescription
let package = Package(
name: "temppgts",
targets: [],
dependencies: [
.Package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git", majorVersion: 2),
.Package(url: "https://github.com/PerfectlySoft/Perfect-Turnstile-PostgreSQL.git", majorVersion: 1),
.Package(url: "https://github.com/ccounterman/Postgres-StORM.git", majorVersion: 1),
.Package(url: "https://github.com/PerfectlySoft/Perfect-Mustache.git", majorVersion: 2),
.Package(url: "https://github.com/PerfectlySoft/Perfect-RequestLogger.git", majorVersion: 1),
]
)

It'd be good to either have such multiple connector support added to Postgres, or to know how to substitute my implementation in my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant