I create many to many association between two tables
role.js
classMethods: {
associate: function(models) {
Role.belongsToMany(models.Permission, {through: 'RolePermission'});
}
permission.js
classMethods: {
associate: function(models) {
Permission.belongsToMany(models.Role, {through: 'RolePermission'});
}
}
But when I check list of models RolePermission not created. How can I test these associations are done properly. Is there any console for that?