Add teacher_id column to groups