var mongoose = require('mongoose')
var config = require('config')

mongoose.connect(config.db.url)

var mongoose = require('mongoose')
var config = require('config')

mongoose.connect(config.db.url, { useMongoClient: true })

Fix Mongoose open() deprecation warning
Fix Mongoose open() deprecation warning
