Magento Certified Developer GuideCategory: 2. Request FlowHow and when are the two main types of setup script executed
Manish Prakash Staff asked 5 years ago

The main type of setup scripts are update scripts and data scripts.

Both are executed in ‘core/app’
first we have the Mage_Core_Model_Resource_Setup::applyAllUpdates(); in _initModules()

and then we have Mage_Core_Model_Resource_Setup::applyAllDataUpdates();