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
1adf4ee
What ERD stands for?
entity-relationship diagram, a visual blueprint that maps out how data is structured and connected inside a database
commit 1adf4ee
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.