Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RoleUser and PermissionUser tables #220

Open
manfield opened this issue Aug 17, 2017 · 0 comments
Open

RoleUser and PermissionUser tables #220

manfield opened this issue Aug 17, 2017 · 0 comments

Comments

@manfield
Copy link

manfield commented Aug 17, 2017

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant