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:
Philip Molares 2021-01-17 14:49:28 +01:00 committed by David Mehren
parent 822c01f2c7
commit c232707a89
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -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