I added one column to a customers table while testing a modular monolith schema, and two modules quietly started depending on each other.
The column was last_order_id, pointing at the ordering module's orders. Orders already pointed at customers. My pg_constraint query, the one…
Commit
f2188f7
What ERD stands for?
entity-relationship diagram, a visual blueprint that maps out how data is structured and connected inside a database
As I supposed ... but this is not an entity-relationship diagram.
I do not know why on the web there is this misconception of this diagram.
Lol! 😂 l think it's only slightly different, it's just a basic demo l suppose
commit f2188f7
It misses the most important thing: relationships and cardinality.
It's useless without these info.