Support PostgreSQL Extra Connection options (#4970)
This commit is contained in:
parent
f54cd10a04
commit
6de08d07a3
4 changed files with 7 additions and 0 deletions
|
@ -93,6 +93,7 @@ export function initDb(justBorrow = false, sync = false, log = false) {
|
|||
username: config.db.user,
|
||||
password: config.db.pass,
|
||||
database: config.db.db,
|
||||
extra: config.db.extra,
|
||||
synchronize: process.env.NODE_ENV === 'test' || sync,
|
||||
dropSchema: process.env.NODE_ENV === 'test' && !justBorrow,
|
||||
logging: log,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue