Added 2 of 3 foreign key constraints to attendance schema