ER-diagram for DB?

24 views
Skip to first unread message

Andreas Netteland

unread,
Feb 2, 2022, 7:42:02 AM2/2/22
to dev
Hi, 
is there any resources available to explain the workings of the DB, except the models folder in the API? Something like a ER-diagram would be super helpful.
Thanks!

Robert Knight

unread,
Feb 2, 2022, 11:46:16 AM2/2/22
to Andreas Netteland, dev
Hello,

The models/ folder and the comments in there are the source of truth for the database structure. There is no ER diagram, though you may be able to generate a basic one from the Postgres DB schema. If you want to know more about specific fields, I would suggest to look at the Git commits, pull requests and database migrations that introduced them.

Kind regards,
Robert.

--
You received this message because you are subscribed to the Google Groups "dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@list.hypothes.is.
To view this discussion on the web visit https://groups.google.com/a/list.hypothes.is/d/msgid/dev/3f689f1d-9d56-4c21-abdc-bdef5e2f0fb3n%40list.hypothes.is.

Reply all
Reply to author
Forward
0 new messages