No duplicates 🥲.
What happened?
User has many Subscriptions
Subscription has user_id
there might be a situation when $subscription->user is set, but $subscription->user->subscriptions is empty.
here is a repo with reproduction and the Test Case
Version
No duplicates 🥲.
What happened?
User has many Subscriptions
Subscription has user_id
there might be a situation when $subscription->user is set, but $subscription->user->subscriptions is empty.
here is a repo with reproduction and the Test Case
Version