From a7c4cf61e9ac3635ed4fd1f02e841e8d3cc09a95 Mon Sep 17 00:00:00 2001 From: Zaven Date: Mon, 14 Dec 2020 16:34:07 -0800 Subject: [PATCH] fix: debug wallet search path --- server/database/knex.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/database/knex.js b/server/database/knex.js index e52fe05c..caa8115d 100644 --- a/server/database/knex.js +++ b/server/database/knex.js @@ -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);