traxxx/src/knex.js

13 lines
336 B
JavaScript
Raw Normal View History

'use strict';
const config = require('config');
const knex = require('knex');
module.exports = knex({
client: 'pg',
connection: config.database.owner,
// performance overhead, don't use asyncStackTraces in production
asyncStackTraces: process.env.NODE_ENV === 'development',
2020-12-19 22:01:17 +00:00
// debug: process.env.NODE_ENV === 'development',
});