Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -15,10 +15,11 @@ FOREIGN KEY (student_id) REFERENCES student(student_id) | ... | @@ -15,10 +15,11 @@ 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, | ||
18 | status VARCHAR(10) NOT NULL, | 19 | status VARCHAR(10) NOT NULL, |
19 | timestamp DATETIME DEFAULT CURRENT_TIMESTAMP, | 20 | timestamp DATETIME DEFAULT CURRENT_TIMESTAMP, |
20 | FOREIGN KEY (lecture_id) REFERENCES lecture(lecture_id), | 21 | FOREIGN KEY (lecture_id) REFERENCES lecture(lecture_id), |
21 | -FOREIGN KEY (student_id) REFERENCES student(student_id) | 22 | +FOREIGN KEY (student_id) REFERENCES student(student_id), |
22 | ); | 23 | ); |
23 | 24 | ||
24 | CREATE TABLE undefined_image( | 25 | CREATE TABLE undefined_image( | ... | ... |
-
Please register or login to post a comment