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
I think you should create role_user and permission_user tables taking care of the correct foreign key (in most cases user_id is ok, but it might be changed according to specific needs).
The text was updated successfully, but these errors were encountered:
According to new Laravel 5.4 implementation of Eloquent methods, like hasMany or belongsToMany, whose behavior is different, compared to the 5.3:
laravel/framework#17503
I think you should create role_user and permission_user tables taking care of the correct foreign key (in most cases user_id is ok, but it might be changed according to specific needs).
The text was updated successfully, but these errors were encountered: