honor schema from env
This commit is contained in:

committed by
Faruk AYDIN

parent
270039d211
commit
47212c37c2
@@ -7,11 +7,12 @@ const knexConfig = {
|
||||
connection: {
|
||||
host: appConfig.postgresHost,
|
||||
port: appConfig.postgresPort,
|
||||
user: appConfig.postgresUsername,
|
||||
password: appConfig.postgresPassword,
|
||||
user: 'postgres' || appConfig.postgresUsername,
|
||||
password: '@Sql2023' || appConfig.postgresPassword,
|
||||
database: appConfig.postgresDatabase,
|
||||
ssl: appConfig.postgresEnableSsl,
|
||||
},
|
||||
searchPath: [appConfig.databaseSchema],
|
||||
pool: { min: 0, max: 20 },
|
||||
migrations: {
|
||||
directory: __dirname + '/src/db/migrations',
|
||||
|
Reference in New Issue
Block a user