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
a156b02
entity-relationship diagram, a visual blueprint that maps out how data is structured and connected inside a database