# Onde podemos obter o diagrama de design do esquema do banco de dados do Discourse?

**URL:** https://meta.discourse.org/t/where-can-we-get-discourse-database-schema-design-diagram/233083
**Category:** Development
**Created:** [Julho 17, 2022, 5:01am UTC](https://meta.discourse.org/t/where-can-we-get-discourse-database-schema-design-diagram/233083 "2022-07-17T05:01:31Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [Julho 17, 2022, 5:49am UTC](https://meta.discourse.org/t/where-can-we-get-discourse-database-schema-design-diagram/233083/2 "2022-07-17T05:49:31Z")

</div>

Isso já foi perguntado antes, dê uma olhada em:

> [@Is there a document introducing the database schema design?](https://meta.discourse.org/t/is-there-a-document-intruducing-the-database-schema-design/171729?u=merefield):
>
> I’m study how discourse was implemented, and I hope to understand each fields in schemas of discourse database, so that I can quickly know the meaning of things done by ruby codes.Is there a suite document for me?

> [@Using ERD to Create Entity-Relationship Diagrams for Discourse](https://meta.discourse.org/t/using-erd-to-create-entity-relationship-diagrams-for-discourse/161086?u=merefield):
>
> Hey, Today I was playing around with ERD and installed it in my Discourse dev setup on the mac and ran it. Was a bit buggy and had to reload it a few times, but was able to get it going, but needs work. Obviously it’s huge, and needs work. Is anyone else on the Discourse dev team or plugin developers are using ERD or another package similar to ERD to create entity-relationship diagrams for Discourse? Thank…

> [@A data model to make perusing the database easier](https://meta.discourse.org/t/a-data-model-to-make-perusing-the-database-easier/223486/13?u=merefield):
>
> You can generate one with relationships with rails-erd: [GitHub - voormedia/rails-erd: Generate Entity-Relationship Diagrams for Rails applications](https://github.com/voormedia/rails-erd) Not sure how useful this is though

---

_[View the full topic](https://meta.discourse.org/t/where-can-we-get-discourse-database-schema-design-diagram/233083)._
