Change shared.ts
This commit is contained in:
@@ -3,13 +3,7 @@ import knex, { Knex } from "knex";
|
||||
export function dbOpen(): Knex {
|
||||
const db = knex({
|
||||
client: 'pg',
|
||||
connection: {
|
||||
host : process.env.DB_CONNECTION,
|
||||
port : Number(process.env.DB_PORT),
|
||||
user : 'main',
|
||||
password : 'hHMP8cd^N3SnzGRR',
|
||||
database : 'main'
|
||||
}
|
||||
connection: process.env.DB_CONNECTION
|
||||
})
|
||||
|
||||
return db;
|
||||
|
||||
Reference in New Issue
Block a user