RoleUser and PermissionUser tables
manfield opened this issue · 0 comments
manfield commented
According to new Laravel 5.4 implementation of Eloquent methods, like hasMany or belongsToMany, whose behavior is different, compared to the 5.3:
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).