Adding foreign key links to AfterHoursAccesses.