data model adapted to split between user and profile

This commit is contained in:
Gulliver 2021-06-20 13:48:08 +02:00
parent 22948e415b
commit 10002757ab

View File

@ -10,13 +10,23 @@ entity "user" as user {
*id : number <<generated>> *id : number <<generated>>
-- --
*nickname : text(25) *nickname : text(25)
*created: datetime
*updated: datetime
}
entity user_profile {
*id : number <<generated>>
*userid
--
pronouns : text(25) pronouns : text(25)
fullname: text(100) fullname: text(100)
volunteerwork: text(4000) volunteerwork: text(4000)
freetext: text(4000) freetext: text(4000)
*profile_visible: bool
*created: datetime *created: datetime
*updated: datetime *updated: datetime
} }
user ||-o{ user_profile : user_has_profile
entity user_address { entity user_address {
*id : number <<generated>> *id : number <<generated>>