Graduate

Change student_attendance table

......@@ -15,7 +15,8 @@ FOREIGN KEY (student_id) REFERENCES student(student_id)
CREATE TABLE student_attendance(
lecture_id VARCHAR(20) NOT NULL,
student_id VARCHAR(10) NOT NULL,
attendance_date DATE NOT NULL,
attendance_time DATETIME NOT NULL,
status VARCHAR(10) NOT NULL,
FOREIGN KEY (lecture_id) REFERENCES lecture(lecture_id),
FOREIGN KEY (student_id) REFERENCES student(student_id)
);
......