Changes between Version 3 and Version 4 of Relational schema (DDL and Database)


Ignore:
Timestamp:
02/05/25 22:30:26 (2 weeks ago)
Author:
206046
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Relational schema (DDL and Database)

    v3 v4  
    22
    33= Entities =
    4 == User ==
     4=== User ===
    55 * '''id_user''' – Primary Key 
    66 * username 
     
    99 * created_at 
    1010
    11 == Administration ==
     11=== Administration ===
    1212 * '''id_user*''' – Foreign Key 
    1313 * department 
    1414
    15 == Teacher ==
     15=== Teacher ===
    1616 * '''id_user*''' – Foreign Key 
    1717 * '''id_teacher''' – Primary Key 
     
    1919 * department 
    2020
    21 == Rating ==
     21=== Rating ===
    2222 * '''id_rating''' – Primary Key 
    2323 * rating 
     
    2626 * '''id_student*''' – Foreign Key 
    2727
    28 == Subject ==
     28=== Subject ===
    2929 * '''id_subject''' – Primary Key 
    3030 * name 
    3131 * description 
    3232
    33 == Course ==
     33=== Course ===
    3434 * '''id_Course''' – Primary Key 
    3535 * num_of_classes 
    3636 * created_by 
    3737
    38 == Class ==
     38=== Class ===
    3939 * '''id_class''' – Primary Key 
    4040 * start_time 
     
    4444 * '''id_attendance*''' – Foreign Key 
    4545
    46 == Student ==
     46=== Student ===
    4747 * '''id_student''' – Primary Key 
    4848 * progress_score 
    4949
    50 == Assignment ==
     50=== Assignment ===
    5151 * '''id_assignment''' – Primary Key 
    5252 * description 
     
    5454 * deadline 
    5555
    56 = Relations =
     56== Relations ==
    5757
    58 == Enrollment ==
     58=== Enrollment ===
    5959 * '''id_enrollment*''' – Primary Key 
    6060 * '''id_student*''' – Foreign Key 
     
    6363 * en_date 
    6464
    65 == Submission ==
     65=== Submission ===
    6666 * '''id_submission*''' – Primary Key 
    6767 * '''id_student*''' – Foreign Key 
     
    7070 * progress_score 
    7171
    72 == Attendance ==
     72=== Attendance ===
    7373 * '''id_attendance''' – Primary Key 
    7474 * '''id_student*''' – Foreign Key 
     
    7676 * attended 
    7777
    78 == Subject_Course ==
     78=== Subject_Course ===
    7979 * '''id_subject*''' – Foreign Key 
    8080 * '''id_Course*''' – Foreign Key 
    8181
    82 == Course_Assignment ==
     82=== Course_Assignment ===
    8383 * '''id_Course*''' – Foreign Key 
    8484 * '''id_assignment*''' – Foreign Key 
    8585
    86 == Course_Class ==
     86=== Course_Class ===
    8787 * '''id_Course''' – Primary Key 
    8888 * '''id_class''' – Primary Key