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
See if touch parent worked. Since the checking is based on old code, the feature is not working
We needed to call setTouchedRelations() to work this.
We will have many tables and relations in the project. It wold be great if it handles automatically.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Steps to recreate:
$table = 'test_users';
->sync(...)
to assign some rolessetTouchedRelations()
to work this.We will have many tables and relations in the project. It wold be great if it handles automatically.
framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php
Line 1142 in ccefc76
Beta Was this translation helpful? Give feedback.
All reactions