Fix model
This commit is contained in:
@@ -8,43 +8,42 @@ erDiagram
|
|||||||
%% entities
|
%% entities
|
||||||
|
|
||||||
Tournament {
|
Tournament {
|
||||||
name
|
string name
|
||||||
shortName
|
string shortName
|
||||||
startDate
|
date startDate
|
||||||
endDate
|
date endDate
|
||||||
location
|
string country
|
||||||
isOnline
|
string location
|
||||||
|
boolean isOnline
|
||||||
}
|
}
|
||||||
|
|
||||||
Round {
|
Round {
|
||||||
number
|
int number
|
||||||
}
|
}
|
||||||
|
|
||||||
Game {
|
Game {
|
||||||
black
|
string result
|
||||||
white
|
|
||||||
result
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Player {
|
Player {
|
||||||
lastname
|
string lastname
|
||||||
firstname
|
string firstname
|
||||||
country
|
string country
|
||||||
club
|
string club
|
||||||
}
|
}
|
||||||
|
|
||||||
Ladder {
|
Ladder {
|
||||||
name
|
string name
|
||||||
lastUpdated
|
date lastUpdated
|
||||||
}
|
}
|
||||||
|
|
||||||
%% relationships
|
%% relationships
|
||||||
|
|
||||||
Tournament ||--|{ Round
|
Tournament ||--|{ Round: ""
|
||||||
Round ||--|{ Game
|
Round ||--|{ Game: ""
|
||||||
Game |}--|| Player : black
|
Game ||--|| Player: "black"
|
||||||
Game |}--|| Player : white
|
Game ||--|| Player: "white"
|
||||||
Player }o--o{ Ladder : rating
|
Player }o--o{ Ladder: "rating"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user