Skip to content

Commit

Permalink
add UML diagram for Object Store models
Browse files Browse the repository at this point in the history
  • Loading branch information
Harriethw committed Jun 28, 2024
1 parent 7d434a2 commit b172276
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Binary file added docs/diagrams/object_store_models.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions docs/diagrams/object_store_models.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@startuml object_store_models
allowmixing
hide empty description

together {
class ContentBlockDocument {
content_id
block_type
title
}
database content_block_documents
ContentBlockDocument .> content_block_documents
}

together {
class ContentBlockEdition {
details
}
database content_block_editions
ContentBlockEdition .> content_block_editions
}

ContentBlockDocument *-r- ContentBlockEdition : "has_many"

@enduml

0 comments on commit b172276

Please sign in to comment.