Closed Christian-Vasilev closed 1 year ago
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Is this thing fixed or not yet?
I think this is very useful, is anyone working on this issue?
Describe the bug When I make a change to the User model and assign a role (Many to Many relation). The changes that are added to the attributes and old array keys of the changes made are the same.
To Reproduce I have a basic many to many relation between the User Model and the Role Model. The user model looks like this:
Pivot Model:
Pivot model migration:
This is the part of my controller that updates the releation
Expected behavior When using $activity->changes to get the actual changes that where made.
Screenshots If applicable, add screenshots to help explain your problem.
Versions (please complete the following information)
Additional context none
Exception No exception
Stack Trace No stack