Author Topic

Łukasz Serwatka

Monday 25 May 2009 2:09:22 am

Comment51168

<i>
Perhaps you have something that is not perfect, still its better that nothing and could be shared. Otherwise it will be years until it happens. Or forever.

Does someone know good opensource program to document mysql database? Keys, relations, comments on fields and tables, good visual output. There should be some around, please suggest, so there is no excuse to hold anything back :)
</i>

You can create your own DB visualisation with MySQL Workbench http://dev.mysql.com/downloads/workbench/5.1.html

Creating tables overview is not a problem, relations are a problem. And those has to be added manually same as was done with the old DB diagram. Basically it has to be extended for support of new tables.

Exponential uses PersistentObject as most of the relations is defined as foreign_attribute and foreign_class so looking on those information, it should be easy to figure out the relations between tables. Keep in mind also that cascading operations in Exponential almost does not exist. As simple thing, what would you do if a user is deleted from the system? We do not delete all content where foreign creator_id key exists for removed user. Exponential is very complex in regard to the DB relations, unfortunately only manual maintenance is possible at the moment.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog