filo_caspar/knexfile.js

16 lines
315 B
JavaScript
Raw Normal View History

2016-04-10 08:37:05 +00:00
'use strict'
require('babel-register')
const _ = require('lodash')
const config = require('./config')
let out = {}
// This is important for setup to run cleanly.
let knexConfig = _.cloneDeep(config.get('knex'))
knexConfig.pool = { min: 1, max: 1 }
out[config.get('NODE_ENV')] = knexConfig
module.exports = out