-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ER-Diagrams in data_schemas.md #367
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love documentation~
Thanks a lot for the documentation/diagram! I am a bit worried that it will be outdated during the next days since there will be a couple of changes. But I guess that is always the problem with documentation. @yk should we merge it anyway? |
We can also wait a few days, and I'll update it then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a future update you could mention the sqllite db of the discrod-bot. Schema is still microscopic .. right now, will probably grow a bit over the next days.. https://github.com/LAION-AI/Open-Assistant/blob/main/discord-bot/bot/db/schema.sql
|
||
## Databases | ||
|
||
Open-Assistant uses two databases, one for the backend and one for the frontend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is actually a third one for the bot which is a small sqlite db. So backend and frontends all have their own persistent state.
I'll merge it now. Woulb be really cool if you check in 1-2 weeks and update it to the latest state! :-) Thanks for your contribution! |
I wanted to better understand the databases involved so I made some ER-diagrams. May be helpful for other people as well so I though I might share it. I necessary I can also share to raw xml files (from draw.io).