mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
db-schema: updates plantuml
adds identifier and createdAt to AuthToken renames authToken in User to authTokens Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
822c01f2c7
commit
c232707a89
1 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,8 @@ entity "auth_token"{
|
|||
--
|
||||
*userId : uuid
|
||||
*accessToken : text
|
||||
*identifier: text
|
||||
*createdAt: date
|
||||
}
|
||||
|
||||
entity "identity" {
|
||||
|
@ -131,7 +133,7 @@ entity "media_upload" {
|
|||
|
||||
user "1" -- "0..*" note: owner
|
||||
user "1" -u- "1..*" identity
|
||||
user "1" - "1..*" auth_token
|
||||
user "1" - "1..*" auth_token: authTokens
|
||||
user "1" -l- "1..*" session
|
||||
user "1" - "0..*" media_upload
|
||||
user "0..*" -- "0..*" note
|
||||
|
|
Loading…
Reference in a new issue