Created
February 17, 2020 11:38
-
-
Save pratikagashe/95406f8e627668db52f8a8fc63585656 to your computer and use it in GitHub Desktop.
Knex configuration file for server : postgraphile demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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