text: 'use strict';
  
  module.exports = {
    up: (queryInterface, Sequelize) =>
      queryInterface.createTable('users', {
        id: { type: Sequelize.INTEGER, allowNull: false, unique: true, autoIncrement: true },
        name: { type: Sequelize.STRING, allowNull: false },
        lastName: { type: Sequelize.STRING, allowNull: false },
        mail: { type: Sequelize.STRING, allowNull: false, unique: true },
        password: { type: Sequelize.STRING, allowNull: false }
      }),
    down: queryInterface => queryInterface.dropTable('users')
  };
  