bancorprotocol / carbon-backend

MIT License
1 stars 7 forks source link

Missing Database Schema Documentation #90

Open zavelevsky opened 3 days ago

zavelevsky commented 3 days ago

There is no visible documentation or ERD of the database structure, which could make it difficult for new developers to understand data flows.

yarivbancor commented 2 days ago

please note every table in the db is represented by a very detailed entity file. any change/addition to the db is done by modifiying these files, and migrations are generated automatically with npm run scripts

zavelevsky commented 2 days ago

please note every table in the db is represented by a very detailed entity file. any change/addition to the db is done by modifiying these files, and migrations are generated automatically with npm run scripts

While this is true, I'd claim that a higher-level database schema overview is still valuable. An ERD or similar schema documentation provides an accessible, visual snapshot of the relationships between tables, which is particularly helpful for: