Skip to content

Commit cb3c148

Browse files
committed
update configure
1 parent 6a8a94f commit cb3c148

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/App/configure.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ public func configure(
6262
middlewares.use(ErrorMiddleware.self) // Catches errors and converts to HTTP response
6363
services.register(middlewares)
6464

65-
// Configure a PostgreSQL database
65+
// Configure a PostgreSQL database local
6666
let config = PostgreSQLDatabaseConfig(
6767
hostname: "localhost",
6868
port: 5432,
6969
username: "metalbee",
7070
database: "CupcakesCorner",
7171
password: nil,
7272
transport: .cleartext)
73+
7374
let postgres = PostgreSQLDatabase(config: config)
7475

7576
/// Register the configured PostgreSQL database to the database config.

0 commit comments

Comments
 (0)