Fixed missing attributes on homework table, fixed column on teacher_course table that should be not null