Compare commits

..

No commits in common. "904c7837d707577025da8ae30f99c63206fa5794" and "22948e415bb9c9df9cf95cfdbcae5fc1a8f79d9e" have entirely different histories.

View File

@ -9,52 +9,18 @@ skinparam linetype ortho
entity "user" as user { entity "user" as user {
*id : number <<generated>> *id : number <<generated>>
-- --
*auth_id : text(50) *nickname : text(25)
' *created: datetime
' *updated: datetime
}
entity tag {
*id : number <<generated>>
*tag_type_id
--
*name: text
}
entity tag_type {
*id : number <<generated>>
--
*name: text
}
tag_type ||--o{ tag
entity profile {
*id : number <<generated>>
*user_id
--
*nick_name : text(25)
pronouns : text(25) pronouns : text(25)
fullname: text(100) fullname: text(100)
volunteerwork: text(4000) volunteerwork: text(4000)
freetext: text(4000) freetext: text(4000)
visible: bool
*created: datetime *created: datetime
*updated: datetime *updated: datetime
} }
user ||-o{ profile : user_has_profile
entity token { entity user_address {
*id : number <<generated>> *id : number <<generated>>
*user_id *userid
--
*token : text(36)
}
user ||-o{ token : user_has_token
entity profile_address {
*id : number <<generated>>
*profile_id
-- --
street: text(25) street: text(25)
house_number: text(10) house_number: text(10)
@ -63,40 +29,52 @@ entity profile_address {
city: text(25) city: text(25)
country: text(25) country: text(25)
} }
profile ||-o{ profile_address : profile_has_address user ||-o{ user_address : user_has_address
entity profile_skill { entity user_skill {
*profile_id: id *user_id: id
*skill_id: id *skill_id: id
-- --
*level: number level: number
} }
entity profile_language { entity user_language {
*profile_id: id *user_id: id
*language_id: id *language_id: id
-- --
level: number level: number
} }
entity profile_experience { entity skill {
*id : number <<generated>> *id : number <<generated>>
*profile_id --
*name: text(25)
}
entity user_experience {
*id : number <<generated>>
*user_id
-- --
description description
start: date start: date
end: date end: date
} }
entity profile_experience_experience { entity user_experience_experience {
*profile_experience_id *user_experience_id
*experience_id *experience_id
} }
profile ||--o{ profile_experience : user_has_experience user ||--o{ user_experience : user_has_experience
profile_experience ||--o{ profile_experience_experience : user_experience_is_tagged_with user_experience ||--o{ user_experience_experience : user_experience_is_tagged_with
entity experience {
*id : number <<generated>>
--
*name: text(25)
}
user_experience_experience }o--|| experience
profile_experience_experience }o--|| tag
entity user_search_topic { entity user_search_topic {
*user_id *user_id
@ -104,14 +82,20 @@ entity user_search_topic {
-- --
} }
entity profile_contact { entity user_contact {
*id : number <<generated>> *id : number <<generated>>
*profile_id *user_id
*contact_type_id *contact_type_id
-- --
*content: text(200) *content: text(200)
} }
entity topic {
*id : number <<generated>>
--
*name: text
}
entity language { entity language {
*id : number <<generated>> *id : number <<generated>>
-- --
@ -124,16 +108,16 @@ entity contact_type {
*name: text(25) *name: text(25)
} }
profile ||--o{ profile_skill : user_has_skills user ||--o{ user_skill : user_has_skills
profile_skill ||--o{ tag user_skill ||--o{ skill
profile ||--o{ profile_language : user_speaks_language user ||--o{ user_language : user_speaks_language
profile_language||--{ language user_language||--{ language
user ||--o{ user_search_topic user ||--o{ user_search_topic
user_search_topic ||--o{ tag user_search_topic ||--o{ topic
profile ||-o{ profile_contact user ||-o{ user_contact
profile_contact ||-o{ contact_type user_contact ||-o{ contact_type
@enduml @enduml