text: 'use strict';
  module.exports = {
    up: function(queryInterface, Sequelize) {
      return queryInterface.createTable('users', {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: Sequelize.INTEGER
        },
        username: {
          allowNull: false,
          unique: true,
          type: Sequelize.STRING
        },
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE
        }
      },
          {
            engine: process.env.NODE_ENV === 'test' ? 'MYISAM' : 'InnoDB',
          });
    },
    down: function(queryInterface, Sequelize) {
      return queryInterface.dropTable('users');
    }
  };
  