text: module.exports = {
    up: async (queryInterface, Sequelize) => {
      await queryInterface.createTable('rolePermissions', {
        id: {
          allowNull: false,
          autoIncrement: true,
          primaryKey: true,
          type: Sequelize.INTEGER,
        },
        role_id: {
          type: Sequelize.INTEGER,
        },
        permission_id: {
          type: Sequelize.STRING,
        },
        createdAt: {
          allowNull: false,
          type: Sequelize.DATE,
        },
        updatedAt: {
          allowNull: false,
          type: Sequelize.DATE,
        },
      });
    },
    down: async (queryInterface, Sequelize) => {
      await queryInterface.dropTable('rolePermissions');
    },
  };
  