You’ll need to set the joinTable property when you create the belongsToMany association. You can’t just change the association type from hasMany to belongsToMany.
1 Like
You’ll need to set the joinTable property when you create the belongsToMany association. You can’t just change the association type from hasMany to belongsToMany.