What version of Magento first allowed data install/setup scripts i.e. mymodule/data/mymodule_setup...

It looks like in 1.5 CE data scripts do not work - but a cursory look at the core resource setup class i can see references to them?

I am wondering when they were introduced and from what version they can be used?

2 Answers 2


I can see what is happening now.

pre 1.6 the data install scripts were mixed with the sql install scripts under the sql directory.

1.6 and up is what i am used to where the data and sql directories are separate.


The data_version column was added in version 1.4. The code to apply all data updates was also added in version 1.4. Look for the line Mage_Core_Model_Resource_Setup::applyAllDataUpdates();. This line is missing in the same file in version 1.3. The strange thing is that for example the data folder in Mage_Catalog was added in the version 1.6. Maybe it wasn't functional until 1.6.

For more info on magento versions visit https://github.com/LokeyCoding/magento-mirror

  • Yes that seems to be the case as i am on a 1.5 CE install and the data insalls are not being picked up - but everything suggests its should be. Commented Sep 5, 2013 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.