Skip to content

Commit

Permalink
db-schema: updates plantuml
Browse files Browse the repository at this point in the history
adds identifier and createdAt to AuthToken
renames authToken in User to authTokens

Signed-off-by: Philip Molares <philip.molares@udo.edu>
  • Loading branch information
DerMolly committed Jan 17, 2021
1 parent 9f28c08 commit 1c6dd14
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/content/dev/db-schema.plantuml
Expand Up @@ -24,11 +24,13 @@ entity "User" {
email : text
}

entity "AuthToken" as authToken{
entity "AuthToken" {
*id : number <<generated>>
--
*userId : uuid
*accessToken : text
*identifier: test
*createdAt: date
}

entity "Identity" {
Expand Down Expand Up @@ -131,7 +133,7 @@ entity "MediaUpload" {

User "1" -- "0..*" Note: owner
User "1" -u- "1..*" Identity
User "1" - "1..*" authToken
User "1" - "1..*" AuthToken: authTokens
User "1" -l- "1..*" Session
User "1" - "0..*" MediaUpload
User "0..*" -- "0..*" Note
Expand Down

0 comments on commit 1c6dd14

Please sign in to comment.