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:
Nicolas Lenz 2020-08-29 18:37:53 +02:00 committed by David Mehren
parent f007b8539c
commit 6225215c6e
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -115,18 +115,18 @@ entity "Group" {
*canEdit : boolean *canEdit : boolean
} }
Note "1" - "1..*" Revision Note "1" -- "1..*" Revision
Revision "0..*" - "0..*" Authorship Revision "0..*" -- "0..*" Authorship
(Revision, Authorship) .. RevisionAuthorship (Revision, Authorship) .. RevisionAuthorship
Authorship "0..*" - "1" User Authorship "0..*" -- "1" User
Note "1" - "0..*" User : owner Note "1" -- "0..*" User : owner
Note "1" - "0..*" NoteUserPermission Note "1" -- "0..*" NoteUserPermission
NoteUserPermission "1" - "1" User NoteUserPermission "1" -- "1" User
Note "1" - "0..*" NoteGroupPermission Note "1" -- "0..*" NoteGroupPermission
NoteGroupPermission "0..*" - "1" Group NoteGroupPermission "0..*" -- "1" Group
Identity "1..*" - "1" User Identity "1..*" -- "1" User
authToken "1..*" - "1" User authToken "1..*" -- "1" User
seesion "1..*" - "1" User seesion "1..*" -- "1" User
Note "0..*" - "0..*" User : color Note "0..*" -- "0..*" User : color
(Note, User) .. AuthorColors (Note, User) .. AuthorColors
@enduml @enduml