Skip to content

Commit

Permalink
fix: debug wallet search path
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavenArra committed Dec 15, 2020
1 parent 4f5d0c3 commit a7c4cf6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/database/knex.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ let knexConfig = {
}

log.debug('hello')
log.info(process.env.DATABASE_SCHEMA)
log.debug(process.env.DATABASE_SCHEMA)
if(process.env.DATABASE_SCHEMA){
log.info('setting a schema')
knexConfig.searchPath = [process.env.DATABASE_SCHEMA]
knexConfig.searchPath = ['wallets']
}
log.info(knexConfig.searchPath)
log.debug(knexConfig.searchPath)
log.debug(knexConfig.seachPath[0])

const knex = require('knex')(knexConfig);

Expand Down

0 comments on commit a7c4cf6

Please sign in to comment.