import { DataTypes } from 'sequelize';
export default (sequelize) => sequelize.define('role_permissions', {
  role_id: { type: DataTypes.INTEGER, allowNull: false },
  permission_id: { type: DataTypes.INTEGER, allowNull: false },
}, { indexes: [{ unique: true, fields: ['role_id','permission_id'] }] });
