title: Sequelize sync and Node.js not create table
body: <p>I'm learning node.js and sequelizer and I encountered a problem, i.e. I created a User model using Sequelizer, unfortunately when i want to run in index.js sequelizer.sync (); it in the console shows me the result, but it does not create a table.</p>
  
  <p>My model:</p>
  
  <pre><code>const Sequelize = require('sequelize');
  
  const sequelize = require('../util/database');
  
  const User = sequelize.define('user', {
      id: {
          type: Sequelize.INTEGER,
          autoIncrement: true,
          allowNull: false,
          primaryKey: true
      },
      name: {
          type: Sequelize.TEXT,
          allowNull: false
      },
      surname: {
          type: Sequelize.TEXT,
          allowNull: false
      }
  });
  
  module.exports = User;
  </code></pre>
  
  <p>my database config</p>
  
  <pre><code>const Sequelize = require('sequelize');
  const sequelize = new Sequelize('node-nauka', 'root', '', {
      dialect: 'mysql',
      host: 'localhost'
  });
  
  module.exports = sequelize;
  </code></pre>
  
  <p>index.js</p>
  
  <pre><code>const express = require('express');
  const bodyParser = require('body-parser');
  const app = express();
  const defaultRoutes = require('./routes/default');
  const sequelize = require('./util/database');
  
  app.use(bodyParser.json());
  
  app.use(defaultRoutes);
  sequelize.sync().then(result =&gt; {
      console.log(result);
      app.listen(3000);
  }).catch(err =&gt; {
      console.log(err);
  });
  </code></pre>
  
  <p>Sync result: <a href="https://pastebin.com/rtxqkMtx" rel="nofollow noreferrer">https://pastebin.com/rtxqkMtx</a>
  I miss ideas, tried on several databases and the same effect, no error but also does not create a table.</p>