diff --git a/docs/diagrams/object_store_models.png b/docs/diagrams/object_store_models.png new file mode 100644 index 00000000000..ff6361b8084 Binary files /dev/null and b/docs/diagrams/object_store_models.png differ diff --git a/docs/diagrams/object_store_models.puml b/docs/diagrams/object_store_models.puml new file mode 100644 index 00000000000..a2c6603dbe0 --- /dev/null +++ b/docs/diagrams/object_store_models.puml @@ -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