text: 'use strict';
  module.exports = {
    // eslint-disable-next-line
    up: async (queryInterface, Sequelize) =>
      await queryInterface.createTable("users", {
        id: {
          type: Sequelize.INTEGER(),
          allowNull: false,
          primaryKey: true,
          autoIncrement: true
        },
        username: {
          type: Sequelize.STRING,
          defaultValue: "",
          allowNull: false,
          unique: true
        },
        email: {
          type: Sequelize.STRING,
          defaultValue: "",
          allowNull: false,
          unique: true
        },
        password: {
          type: Sequelize.STRING,
          allowNull: false,
          required: true
        },
        created_at: {
          allowNull: true,
          type: Sequelize.DATE,
          defaultValue: Sequelize.NOW
        },
        updated_at: {
          allowNull: true,
          type: Sequelize.DATE,
          defaultValue: Sequelize.NOW
        }
      }),
    down: queryInterface => queryInterface.dropTable("users")
  };