title: Set optimistic locking as global option in node , sequelize
body: <p>I am trying to set up sequelize in my node project and for now I have</p>
  <pre><code>//sequelize init
  const { DataTypes } = Sequelize;
  const sequelize = new Sequelize({
    database: database,
    username: user,
    host: server, 
    password: password,
    dialect: 'mssql',
    dialectOptions: {
      options: {
        useUTC: true,
        dateFirst: 1,
      }
    },
    define:{
        timestamps:false,
        paranoid:false,
        freezeTableName: true
    }
  });
  
  //and my Model 
    const User= sequelize.define('User', {
      // attributes
      id: {
        field:'Id',
        type: Sequelize.INTEGER,
        allowNull: false,
        primaryKey: true
      } ,
      startTime: {
        field:'startTime',
        type: Sequelize.DATE
      } 
    });
  </code></pre>
  <p>I try to setup <code>version:true</code> to enable <a href="https://sequelize.org/v5/manual/models-definition.html#optimistic-locking" rel="noreferrer">Optimistic Locking</a>
  I put it in model</p>
  <pre><code>  const Vessel = sequelize.define('FDMData', {
      // attributes
      id: {
        field:'vesselId',
        type: Sequelize.INTEGER,
        allowNull: false,
        primaryKey: true
      } ,
      startTime: {
        field:'startTime',
        type: Sequelize.DATE
      } 
    },{
      version:true
     }
  );
  </code></pre>
  <p>and I get <code>Unhandled rejection SequelizeDatabaseError: Invalid column name 'version'.</code></p>
  <p>I also tried to set it as global while init</p>
  <pre><code>const { DataTypes } = Sequelize;
  const sequelize = new Sequelize({
    database: database,
    username: user,
    host: server, 
    password: password,
    dialect: 'mssql',
    dialectOptions: {
      options: {
        useUTC: true,
        dateFirst: 1,
      }
    },
    define:{
        timestamps:false,
        paranoid:false,
        freezeTableName: true,
        version: true
    }
  });
  </code></pre>
  <p>and again, I get <code>Unhandled rejection SequelizeDatabaseError: Invalid column name 'version'.</code></p>
  <p>What am I missing? How can I fix this?</p>
  <p>Thanks</p>