added foreign key references for events_schedules JOIN table