You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, I can't seem to add an user to a group using the ORM (i succeeded in doing so by editing the database manually), and I can't add more than one user to a group.
The text was updated successfully, but these errors were encountered:
Disclaimer: I am a total Laravel noob ATM, so anything I say might be wrong.
While looking through the code, i noticed in App\Models\User.php:
and in App\Models\Group.php:
These method names suggest that this was meant to be a many-to-many relationship.
However, in Laravel docs it is stated that you need to implement it like this:
Right now, I can't seem to add an user to a group using the ORM (i succeeded in doing so by editing the database manually), and I can't add more than one user to a group.
The text was updated successfully, but these errors were encountered: