Database Diagram / Model Diagram with relations


I need to generate a diagram (UML?!) to show the relationship between my models (either that or generate a diagram to show relationships between tables from the Database).

Is there a library/plugin in Yii to do that?

For extracting the diagram of relationships between tables - I tried using MySQL Workbench, however soon realized that foreign keys are not defined/created on a database level.

What are my options and possible solutions?

Thanks :slight_smile: