title: Sequelize.INTEGER vs DataTypes.INTEGER
body: <p>In <a href="http://lorenstewart.me/2016/10/03/sequelize-crud-101/" rel="nofollow noreferrer">code from 2016 using sequelize ORM</a>, I see model types defined with this pattern:</p>
  <pre><code> module.exports = function(sequelize, DataTypes) {
       const Tasks = sequelize.define(&quot;Tasks&quot;, {  id: {
         type: DataTypes.INTEGER,
         [ ...etc.]
  </code></pre>
  <p>However in the current sequelize docs you see <a href="http://docs.sequelizejs.com/manual/tutorial/models-definition.html" rel="nofollow noreferrer">most prominently documented</a>: <code>Sequelize.INTEGER</code> (or other type then integer).
  At the same time in the current docs I find also <code>DataTypes</code> still <code>documented/used</code>: <a href="http://docs.sequelizejs.com/variable/index.html#static-variable-DataTypes" rel="nofollow noreferrer">here</a>.</p>
  <p>On same page the <code>Sequelize.INTEGER</code> is used..., is that only for deferrables or something?</p>
  <p>I tried to find whether this altered over time or something but could not find it.</p>
  <p>When <code>Sequelize.INTEGER</code> is 'current solution' could I just alter above code into:</p>
  <pre><code>module.exports = function(sequelize, Sequelize) {
    const Tasks = sequelize.define(&quot;Tasks&quot;, {  id: {
      type: Sequelize.INTEGER,
      [ ...etc.]
  </code></pre>
  <p>Or would using <code>Sequelize</code> as argument somehow make this fail?</p>