Reputation: 4232
Are there any options in MySQL Workbench to draw the relationship-line between the columns and not the tables? If i export my diagram as JPG i can't see, which columns are foreign keys and who they are related to.
On the screenshot, you can't see, that id and user_id are connected.
Upvotes: 17
Views: 12381
Reputation: 820
In the main menu bar go to: Model -> Relationship Notation -> Connect to columns.
Upvotes: 28
Reputation: 171
I'm not sure MySQL Workbench can draw relationship lines between columns but you can aware that Primary Key is shown as Key Symbol and Foreign Key is shown as Red Diamond Symbol.
Upvotes: 5