Skip to content

Commit

Permalink
fix: add debug message about schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavenArra committed Dec 15, 2020
1 parent d5e45c3 commit 6413131
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/database/knex.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ let knexConfig = {
log.debug('hello')
log.info(process.env.DATABASE_SCHEMA)
if(process.env.DATABASE_SCHEMA){
log.info('setting a schema')
knexConfig.searchPath = [process.env.DATABASE_SCHEMA]
}
log.info(knexConfig.searchPath)
Expand Down

0 comments on commit 6413131

Please sign in to comment.