app/code/core/Mage/Core/sql/core_setup/mysql4-upgrade-0.8.10-0.8.11.php File Reference

Go to the source code of this file.

Packages

package  Mage_Core

Variables

 $installer = $this
$installer getConnection ()->dropForeignKey($installer->getTable('design_change')
 $storeIds
if(!empty($storeIds))
$installer getConnection()->
addConstraint(
'FK_DESIGN_CHANGE_STORE'$installer 
getTable ('design_change')


Variable Documentation

$installer = $this

Definition at line 27 of file mysql4-upgrade-0.8.10-0.8.11.php.

$storeIds

Initial value:

 $installer->getConnection()->fetchCol(
    "SELECT store_id FROM {$installer->getTable('core_store')}"
)

Definition at line 34 of file mysql4-upgrade-0.8.10-0.8.11.php.

$installer getConnection()->dropForeignKey($installer->getTable('design_change')

Definition at line 32 of file mysql4-upgrade-0.8.10-0.8.11.php.

if (!empty($storeIds)) $installer getConnection ()->addConstraint( 'FK_DESIGN_CHANGE_STORE' $installer $installer getTable('core_store')

Definition at line 45 of file mysql4-upgrade-0.8.10-0.8.11.php.


Generated on Sat Jul 4 17:22:26 2009 for Magento by  doxygen 1.5.8