Fixed migration errors for attendance and student tables