Update 'Documents/proto/messaging_extension/ERD.md'

Makefile for image
This commit is contained in:
Debucquoy Anthony 2023-12-13 22:31:50 +01:00 committed by Anthony Debucquoy
parent 9c1103ab59
commit d4e3ded3da
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
2 changed files with 6 additions and 4 deletions

View File

@ -3,6 +3,7 @@
## Messaging extension
```mermaid
%%{init: { "er": {"fontSize": 25, "stroke": "black" }}}%%
erDiagram
%% General
@ -29,6 +30,7 @@ Messages o|--o{ Messages: "answers"
Forums{
Integer id PK
String name
Integer course FK "Course"
}
Topics{
@ -46,7 +48,7 @@ Answers{
Polls{
Integer id PK
enum PollType "ALLOW_NEW_OPTIONS ALLOW_MULTIPLE CHOICE"
enum PollType
}
Options{
Integer id PK
@ -55,7 +57,6 @@ Options{
Forums ||--o{ Users: "Registered"
Forums ||--|| Teacher: "Owner"
Forums ||--|| Course: ""
Forums ||--o{ Topics: ""
Forums ||--o{ Polls: ""
@ -71,14 +72,14 @@ Votes }o--|| Users: "Voter"
%% Appointments
Teachers
Teacher
Appointments{
Integer id PK
Integer teacher FK "Teacher"
TIME sent_time
enum Status
}
Appointments ||--|| Teachers: ""
Appointments ||--|| Users: ""
```

View File

@ -13,6 +13,7 @@ use_case_messagerie.tex: use_case_messagerie.uml
image: use_case_messagerie.uml interaction_diagram.uml
plantuml $^
mmdc -i ERD.md -o ERD.png
extension_messagerie.bbl: extension_messagerie.bcf
biber extension_messagerie