text: module.exports = {
    async up(queryInterface, Sequelize) {
      await queryInterface.createTable("genres", {
        id: {
          type: Sequelize.INTEGER,
          autoIncrement: true,
          primaryKey: true,
          allowNull: false,
        },
        name: {
          type: Sequelize.STRING,
          allowNull: false,
        },
        created_at: {
          type: Sequelize.DATE,
          allowNull: false,
        },
        updated_at: {
          type: Sequelize.DATE,
          allowNull: false,
        },
      });
    },
  
    async down(queryInterface) {
      await queryInterface.dropTable("genres");
    },
  };
  