I've a problem in laravel eloquent.
I have 3 tables: members, subscriptions and a pivot table for a many-to-many relationship between members and subscriptions: member_subscription.
I have another table that is tied on member_subscription, with check-ins for member subscription.
What I need is to define the relationship between member_subscription and check-ins. I read something about a custom model for the pivot table, how can I achieve this?