made the loby working using the newer rDB and makeing everything to bbe better manageable by using folders and more components!
This commit is contained in:
parent
2b9b5c3b39
commit
d3e0f3406e
37 changed files with 417 additions and 159 deletions
58
README.md
58
README.md
|
@ -16,30 +16,38 @@
|
|||
|
||||
```mermaid
|
||||
erDiagram
|
||||
GAMES {
|
||||
int ID PK
|
||||
string creator
|
||||
date creationDate
|
||||
string status
|
||||
}
|
||||
QUESTIONS {
|
||||
int ID PK
|
||||
int GameID FK
|
||||
string QuestionsText
|
||||
string CorrectAnswer
|
||||
}
|
||||
ANSWERS {
|
||||
int ID PK
|
||||
int QuestionID FK
|
||||
string content
|
||||
}
|
||||
PLAYERS {
|
||||
int ID PK
|
||||
int GameID FK
|
||||
int Score
|
||||
}
|
||||
GAMES {
|
||||
int ID PK
|
||||
string creator
|
||||
date creationDate
|
||||
string status
|
||||
}
|
||||
QUESTIONS {
|
||||
int ID PK
|
||||
int GameID FK
|
||||
string QuestionsText
|
||||
string CorrectAnswer
|
||||
}
|
||||
ANSWERS {
|
||||
int ID PK
|
||||
int QuestionID FK
|
||||
string content
|
||||
}
|
||||
ANSWEREDBY {
|
||||
int ID PK
|
||||
int QuestionID FK
|
||||
string NameOfAnswerer
|
||||
}
|
||||
PLAYERS {
|
||||
int ID PK
|
||||
int GameID FK
|
||||
int Score
|
||||
}
|
||||
|
||||
GAMES ||--o{ QUESTIONS : contains
|
||||
QUESTIONS ||--o{ ANSWERS : has_answers
|
||||
QUESTIONS ||--o{ ANSWEREDBY : has_answeredby
|
||||
GAMES ||--o{ PLAYERS : has_players
|
||||
|
||||
|
||||
GAMES ||--o{ QUESTIONS : contains
|
||||
QUESTIONS ||--o{ ANSWERS : has
|
||||
GAMES ||--o{ PLAYERS : participated_by
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue