title: Cannot read property 'STRING' of undefined Sequelize
body: <p>Thanks in advance, I am new to Node.js and While running the below code it shows &quot; Cannot read property 'STRING' of undefined&quot; error.</p>
  <pre><code>module.exports=(sequelize, Sequelize)=&gt; {
  
      
  const User=sequelize.define(&quot;users&quot;,{
  
      username: {
  
          type:Sequelize.STRING    
      
      },
  
      email: {
  
          type: Sequelize.STRING
      },
      password: {
  
          type: Sequelize.STRING
      }
  
  })
  return User;
  }
  </code></pre>