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