nciri / zend-db-model-generator

Automatically exported from code.google.com/p/zend-db-model-generator
0 stars 0 forks source link

$_dependentTables in unnecessary #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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