text: 'use strict';
  
  module.exports = {
      up: async (queryInterface, Sequelize) => {
          await queryInterface.createTable('Users', {
              id: {
                  allowNull: false,
                  autoIncrement: true,
                  primaryKey: true,
                  type: Sequelize.INTEGER
              },
              lastName: {
                  allowNull: false,
                  type: Sequelize.STRING
              },
              firstName: {
                  allowNull: false,
                  type: Sequelize.STRING
              },
              email: {
                  unique: true,
                  allowNull: false,
                  type: Sequelize.STRING
              },
              password: {
                  allowNull: false,
                  type: Sequelize.STRING
              },
              admin: {
                  allowNull: false,
                  type: Sequelize.BOOLEAN
              },
              createdAt: {
                  allowNull: false,
                  type: Sequelize.DATE
              },
              updatedAt: {
                  allowNull: false,
                  type: Sequelize.DATE
              },
              profileAvatar: {
                  type: Sequelize.STRING
              },
          });
      },
      down: async (queryInterface, Sequelize) => {
          await queryInterface.dropTable('Users');
      }
  };