kfirufk / zend-db-model-generator

Automatically exported from code.google.com/p/zend-db-model-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$_dependentTables in unnecessary

GoogleCodeExporter opened this issue · comments

If you have an InnoDB table with cascading operations, generator still 
generates the $_dependentTables variable, although it's unnecessary.

From the Zend docs: "Skip declaration of $_dependentTables if you use 
referential integrity constraints in the RDBMS server to implement cascading 
operations."

More about it: 
http://framework.zend.com/manual/en/zend.db.table.relationships.html#zend.db.tab
le.relationships.cascading

Original issue reported on code.google.com by szots...@gmail.com on 14 Sep 2011 at 4:02