Skip to content

Instantly share code, notes, and snippets.

@pratikagashe
Created February 17, 2020 11:38
Show Gist options
  • Select an option

  • Save pratikagashe/95406f8e627668db52f8a8fc63585656 to your computer and use it in GitHub Desktop.

Select an option

Save pratikagashe/95406f8e627668db52f8a8fc63585656 to your computer and use it in GitHub Desktop.
Knex configuration file for server : postgraphile demo
const environment = process.env.NODE_ENV || 'development'
const config = require('../knexfile')[environment]
module.exports = require('knex')(config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment