1
0
Fork 0
compareware/compareware-erd.plantuml

48 lines
644 B
Plaintext

@startuml compareware-erd
skinparam linetype ortho
hide circle
left to right direction
'!theme sandstone
!theme blueprint
entity User {
Id: Autoumber
--
(UNIQUE) Name: String
Pass: String
}
entity Item {
WikidataId: String
--
}
entity Review {
Id: Autoumber
--
(FK) AuthorId
Text: String
}
entity ItemTag {
Id: Autoumber
--
(INDEX) Key: String
Value: String
}
entity ReviewTag {
Id: Autoumber
--
(INDEX) Key: String
Value: String
}
User ||--o{ Review::AuthorId: Writes
Item ||--o{ ItemTag
Review ||--o{ ReviewTag
Item }|--o{ Review
User }|--|{ User: Trusts
@enduml