You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Column-level relationship connections in ER diagrams #4711
Currently, relationship lines in the ER diagram connect tables without clearly indicating which specific columns participate in the relationship.
This makes it difficult to understand complex database schemas, particularly when multiple foreign keys exist between the same two tables or when composite keys are involved.
Proposed solution
Connect relationship lines directly to the corresponding foreign key and referenced column rows.
Highlight the participating columns when hovering over or selecting a relationship.
Display the foreign key constraint name and column mapping in a tooltip.
Support composite foreign key relationships.
Optionally allow switching between table-level and column-level connections to reduce visual clutter in large schemas.
Alternatives considered
Column-level connections are particularly useful when exploring unfamiliar databases and constructing complex SQL joins.
Graphviz DOT exports already support column-level connections, as implemented in #2519. Bringing similar functionality to the interactive ER diagram would significantly improve its usability.
Activity