mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
Update db schema layouting
Previously, single dashes were used for associatons, which makes PlantUML layout all of them in an horizontal line. I changed that to two dashes so that PlantUML uses normal layouting. I think that is far clearer. (See https://plantuml.com/class-diagram for more on layouting) Signed-off-by: Nicolas Lenz <nicolas@eisfunke.com>
This commit is contained in:
parent
f007b8539c
commit
6225215c6e
1 changed files with 12 additions and 12 deletions
|
@ -115,18 +115,18 @@ entity "Group" {
|
|||
*canEdit : boolean
|
||||
}
|
||||
|
||||
Note "1" - "1..*" Revision
|
||||
Revision "0..*" - "0..*" Authorship
|
||||
Note "1" -- "1..*" Revision
|
||||
Revision "0..*" -- "0..*" Authorship
|
||||
(Revision, Authorship) .. RevisionAuthorship
|
||||
Authorship "0..*" - "1" User
|
||||
Note "1" - "0..*" User : owner
|
||||
Note "1" - "0..*" NoteUserPermission
|
||||
NoteUserPermission "1" - "1" User
|
||||
Note "1" - "0..*" NoteGroupPermission
|
||||
NoteGroupPermission "0..*" - "1" Group
|
||||
Identity "1..*" - "1" User
|
||||
authToken "1..*" - "1" User
|
||||
seesion "1..*" - "1" User
|
||||
Note "0..*" - "0..*" User : color
|
||||
Authorship "0..*" -- "1" User
|
||||
Note "1" -- "0..*" User : owner
|
||||
Note "1" -- "0..*" NoteUserPermission
|
||||
NoteUserPermission "1" -- "1" User
|
||||
Note "1" -- "0..*" NoteGroupPermission
|
||||
NoteGroupPermission "0..*" -- "1" Group
|
||||
Identity "1..*" -- "1" User
|
||||
authToken "1..*" -- "1" User
|
||||
seesion "1..*" -- "1" User
|
||||
Note "0..*" -- "0..*" User : color
|
||||
(Note, User) .. AuthorColors
|
||||
@enduml
|
||||
|
|
Loading…
Reference in a new issue