Create EER Model from an existing DB but with the relations done - Workbench

喜你入骨 提交于 2020-01-22 00:18:45

问题


I'm trying to import an existing DB to mysqlq Workbench. I can do this. It's works perfectly. However the process just import the tables without relations between them.

How can I import the the db and create the eer model with relations between them?


回答1:


Relationships are the visual expression of foreign keys. If your DB tables use foreign keys (actually: a storage engine supporting foreign keys) then they are automatically shown in the diagram. It should be clear that this condition is only true for the InnoDB storage engine.



来源:https://stackoverflow.com/questions/40526510/create-eer-model-from-an-existing-db-but-with-the-relations-done-workbench

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!