AgreeMates/AgreeMates — pull request #25 by worxli (2014-04-30 18:59:27+00:00)
Title: correct bookshelf reference

according to an example one should reference the bookshelf initialization in the models with

var Bookshelf = require('bookshelf').db;

after doing

var bookshelf = require('bookshelf');
bookshelf.db = bookshelf.initialize({

in the app.js