data model adapted to split between user and profile #11
@ -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>>
|
||||||
|
Loading…
Reference in New Issue
Block a user