php - Export Yii Models with Relations into diagram

709

we have to create a schema diagramm of all AR Models in our Yii Project and before I start doing this manually i wanted to ask you if there maybe exists any extension out there. I appreciate any answer which could help saving some hours.

Thank you in advance!

722

Answer

Solution:

If You define foreign keys between tables matching the relations between models MySQL Workbench can generate a schema diagram from the current schema, hope it helps

To do this, got to Database > Reverse Engineering

People are also looking for solutions to the problem: php - Delete a database record and associated image

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.