title: sequelize migrations not running
body: <p>I'm having a weird issue with Sequelize I haven't encountered before, when I try to run my migrations nothing happens. I get the following output:</p>
  
  <pre><code>Loaded configuration file "config\config.json"
  Using environment "development"
  </code></pre>
  
  <p>And the program just exists back.</p>
  
  <p>I've checked my code multiple times over and everything checks out.</p>
  
  <p>Model code:</p>
  
  <pre><code>module.exports = {
  up: (queryInterface, Sequelize) =&gt; {
      return queryInterface.createTable("users", {
          id: {
              allowNull: false,
              autoIncrement: true,
              primaryKey: true,
              type: Sequelize.INTEGER
          },
          username: {
              type: Sequelize.STRING,
              unique: true,
              allowNull: false,
              validate: {
                  notEmpty: true
              }
          },
          email: {
              type: Sequelize.STRING,
              unique: true,
              allowNull: false,
              validate: {
                  notEmpty: true,
                  isEmail: true
              }
          },
          password: {
              type: Sequelize.STRING,
              allowNull: false,
              validate: {
                  notEmpty: true,
                  len: [7, 42]
              }
          },
          createdAt: {
              type: Sequelize.DATE
          },
          updatedAt: {
              type: Sequelize.DATE
          }
      })
  },
  down: (queryInterface, Sequelize) =&gt; {
      return queryInterface.dropTable("users")
  }
  </code></pre>
  
  <p>}</p>
  
  <p>And here is a snippet from my model/index.js:</p>
  
  <pre><code>const fs = require("fs")
  const path = require("path")
  const Sequelize = require("sequelize")
  
  const basename = path.basename(__filename)
  const env = process.env.TEST_ENV || "development"
  const config = require(`${__dirname}/../config/config.js`)[env]
  const db = {}
  
  console.log('config', config)
  
  let sequelize
  if (config.use_env_variable) {
      sequelize = new Sequelize(process.env[config.use_env_variable], config)
  } else {
      sequelize = new Sequelize(
          config.database,
          config.username,
          config.password,
          config
      )
  }
  </code></pre>
  
  <p>It's almost like sequelize just isn't picking up any of migrations file. I'm not sure how I should troubleshoot this. Any help on this would be much appreciated. </p>