'use strict'; // const factory = require('midwest/util/db'); const conf = require('./config/postgres'); // module.exports = factory(conf); // const knex = require('knex'); const pg = knex({ client: 'pg', connection: conf, }); module.exports = pg;