diff options
Diffstat (limited to 'lib/db/bookshelf.js')
| -rw-r--r-- | lib/db/bookshelf.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/db/bookshelf.js b/lib/db/bookshelf.js index 69157cc..27d9dbb 100644 --- a/lib/db/bookshelf.js +++ b/lib/db/bookshelf.js @@ -1,4 +1,4 @@ -var knex = require('knex')({ +const knex = require('knex')({ client: 'mysql2', connection: { host : process.env.DB_HOST, @@ -16,7 +16,7 @@ var knex = require('knex')({ } }) -var bookshelf = require('bookshelf')(knex) +const bookshelf = require('bookshelf')(knex) module.exports = { bookshelf: bookshelf, |
