text: 'use strict';
  
  module.exports = {
      up: async (queryInterface, Sequelize) => {
          await queryInterface.createTable('users', {
              id: {
                  type: Sequelize.INTEGER,
                  allowNull: false,
                  primaryKey: true,
                  autoIncrement: true,
              },
              firstname: {
                  type: Sequelize.STRING,
                  allowNull: false,
              },
              lastname: {
                  type: Sequelize.STRING,
                  allowNull: false,
              },
              email: {
                  type: Sequelize.STRING,
                  allowNull: false,
              },
              profile_image: {
                  type: Sequelize.STRING,
                  allowNull: true,
              },
              password: {
                  type: Sequelize.STRING,
                  allowNull: false,
              },
              createdAt: {
                  allowNull: false,
                  type: Sequelize.DATE
              },
              updatedAt: {
                  allowNull: false,
                  type: Sequelize.DATE
              },
              deletedAt: {
                  allowNull: true,
                  type: Sequelize.DATE
              }
          });
      },
  
      down: async (queryInterface, Sequelize) => {
          await queryInterface.dropTable('users');
      }
  };
  