text: module.exports = {
    up(queryInterface, Sequelize) {
      return queryInterface.createTable('Subscribers', {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: Sequelize.INTEGER
        },
        email: {
          allowNull: false,
          type: Sequelize.STRING,
          unique: true,
          validate: {
            isEmail: true
          }
        },
        subscribedAt: {
          allowNull: true,
          type: Sequelize.DATE
        },
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE
        }
      });
    },
    down(queryInterface, Sequelize) {
      return queryInterface.dropTable('Subscribers');
    }
  };
  