Graduate

Change table student_attendance

...@@ -15,11 +15,10 @@ FOREIGN KEY (student_id) REFERENCES student(student_id) ...@@ -15,11 +15,10 @@ FOREIGN KEY (student_id) REFERENCES student(student_id)
15 CREATE TABLE student_attendance( 15 CREATE TABLE student_attendance(
16 lecture_id VARCHAR(20) NOT NULL, 16 lecture_id VARCHAR(20) NOT NULL,
17 student_id VARCHAR(10) NOT NULL, 17 student_id VARCHAR(10) NOT NULL,
18 -student_name VARCHAR(50) NOT NULL,
19 status VARCHAR(10) NOT NULL, 18 status VARCHAR(10) NOT NULL,
20 timestamp DATETIME DEFAULT CURRENT_TIMESTAMP, 19 timestamp DATETIME DEFAULT CURRENT_TIMESTAMP,
21 FOREIGN KEY (lecture_id) REFERENCES lecture(lecture_id), 20 FOREIGN KEY (lecture_id) REFERENCES lecture(lecture_id),
22 -FOREIGN KEY (student_id) REFERENCES student(student_id), 21 +FOREIGN KEY (student_id) REFERENCES student(student_id)
23 ); 22 );
24 23
25 CREATE TABLE undefined_image( 24 CREATE TABLE undefined_image(
......