Changes between Version 10 and Version 11 of ERdiagram


Ignore:
Timestamp:
09/24/25 22:35:51 (10 hours ago)
Author:
221007
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ERdiagram

    v10 v11  
    1111==== Strong Entities ====
    1212
    13 Person
     131. Person
    1414
    1515* **Primary Key (PK):** person_id
     
    2424  * is_stub
    2525
    26 Institution
     262. Institution
    2727
    2828* **Primary Key (PK):** institution_id
     
    3434  * city
    3535
    36 Report
     363. Report
    3737
    3838* **Primary Key (PK):** report_id
     
    4343  * person_id (Foreign Key)
    4444
    45 !CrimeType
     454. !CrimeType
    4646
    4747* **Primary Key (PK):** crime_type_id
     
    5050  * severity_level
    5151
    52 Punishment
     525. Punishment
    5353
    5454* **Primary Key (PK):** punishment_id
     
    5858  * punishment_type
    5959
    60 Diagnosis
     606. Diagnosis
    6161
    6262* **Primary Key (PK):** diagnosis_id
     
    6767  * is_chronic
    6868
    69 Doctor
     697. Doctor
    7070
    7171* **Primary Key (PK):** doctor_id
     
    7777  * is_active
    7878
    79 Role
     798. Role
    8080* **Primary Key (PK):** role_id
    8181* **Attributes:**
     
    8585==== Weak Entities ====
    8686
    87 !FilterSession
     871. !FilterSession
    8888
    8989* **Primary Key (PK):** session_id
     
    9393  * user_id (Foreign Key)
    9494
    95 !ReportiumUser
     952. !ReportiumUser
    9696
    9797* **Primary Key (PK):** reportium_user_id
     
    102102  * surname
    103103
    104 !UserProfile
     1043. !UserProfile
    105105
    106106* **Primary Key (PK):** profile_id
     
    112112  * has_fs_stored
    113113
    114 !UserProfileLog
     1144. !UserProfileLog
    115115
    116116* **Primary Key (PK):** log_id
     
    120120  * changed_at
    121121
    122 ==== Report Subtypes ====
    123 
    124 !AcademicReport
    125 * **Primary Key (PK):** report_id (inherited)
    126 * **Additional Attributes:**
    127   * field
    128   * description
    129 
    130 !CriminalReport
    131 
    132 * **Primary Key (PK):** report_id (inherited)
    133 * **Additional Attributes:**
    134   * location
    135   * resolved
    136   * from_type
    137 
    138 !MedicalReport
    139 
    140 * **Primary Key (PK):** report_id (inherited)
    141 * **Additional Attributes:**
    142   * doctor_surname
    143   * next_control_date
    144 
    145 !EmploymentReport
    146 
    147 * **Primary Key (PK):** report_id (inherited)
    148 * **Additional Attributes:**
    149   * position_description
    150   * start_date
    151   * end_date
    152   * income_per_month
    153 
    154 !ExportLog
     1225. !ExportLog
    155123
    156124* **Primary Key (PK):** export_id
     
    161129  * file_name
    162130  * session_id (Foreign Key)
     131
     132==== Report Subtypes ====
     133
     1341. !AcademicReport
     135* **Primary Key (PK):** report_id (inherited)
     136* **Additional Attributes:**
     137  * field
     138  * description
     139
     1402. !CriminalReport
     141
     142* **Primary Key (PK):** report_id (inherited)
     143* **Additional Attributes:**
     144  * location
     145  * resolved
     146  * from_type
     147
     1483. !MedicalReport
     149
     150* **Primary Key (PK):** report_id (inherited)
     151* **Additional Attributes:**
     152  * doctor_surname
     153  * next_control_date
     154
     1554. !EmploymentReport
     156
     157* **Primary Key (PK):** report_id (inherited)
     158* **Additional Attributes:**
     159  * position_description
     160  * start_date
     161  * end_date
     162  * income_per_month