diff options
Diffstat (limited to 'backend/src/db.js')
| -rw-r--r-- | backend/src/db.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/src/db.js b/backend/src/db.js new file mode 100644 index 0000000..2573239 --- /dev/null +++ b/backend/src/db.js @@ -0,0 +1,4 @@ +const config = require('../knexfile')[process.env.NODE_ENV || 'development']; +const knex = require('knex')(config); + +module.exports = knex; |
