title: sequelize is not defined - Sequelize and consign
body: <p>I'm new in node.</p>
  
  <p>I'm trying to add Sequelize in my simple application with cosign.</p>
  
  <p>config/db.js</p>
  
  <pre><code>var Sequelize = require('sequelize');
  
  var sequelize = new Sequelize('test', 'root', '', {
  
  host: 'localhost',
  dialect: 'mysql',
  
   pool: {
  max: 5,
  min: 0,
  idle: 10000
  }
  
  });
  
  module.exports = function () {
  return sequelize
  }
  </code></pre>
  
  <p>model/user.js</p>
  
  <pre><code>var Sequelize = require('sequelize');
  
  module.exports = function(application, req, res){
  
  var User = sequelize.define('user', {
  username: {
  type: Sequelize.STRING,
  }
  }, {
  freezeTableName: true // Model tableName will be the same as the model name
  });
  
  User.create({ username: 'fnord'})
  .then(function() {
  console.log('criado!');
  })
  }
  </code></pre>
  
  <p>config/server.js </p>
  
  <pre><code>...
  consign()
  .include('app/routes')
  .then('config/db.js')
  .then('app/models')
  .then('app/controllers')
  .into(app);
  
  module.exports = app;
  </code></pre>
  
  <p>I'm getting the error <code>sequelize is not defined´ on</code>var User = sequelize.define('user', {`</p>
  
  <p>What I'm doing wrong?</p>