Can someone guide me on how to create master detail relationship in custom modules?
For example, we have 3 tables users, events and event_detail, I need a new table that relate user+event+event_detail-checkin and event_detail_checkout.
user->event is N to N
event->event_detail is 1 to N
user->event_detail is 1 to 1