Magento – thesql upgrade script not working

magento-1.9mysql-config

Below is the my config.xml file

<resources>
                <categoryrestrict_setup>
                    <setup>
                        <module>Exinent_Categoryrestrict</module>
                        <class>Mage_Catalog_Model_Resource_Setup</class>
                    </setup>
                    <connection>
                        <use>core_setup</use>
                    </connection>
                </categoryrestrict_setup>
                <categoryrestrict_write>
                    <connection>
                        <use>core_write</use>
                    </connection>
                </categoryrestrict_write>
                <categoryrestrict_read>
                    <connection>
                        <use>core_read</use>
                    </connection>
                </categoryrestrict_read>
            </resources>

and my upgrade file name is upgrade-1.0.0-1.0.1.php but it is not working

Best Answer

or just check your config.xml line should be something like this

<modules>
    <YourPackageName_YourModuleName>
        <version>1.0.1</version>
    </YourPackageName_YourModuleName>
</modules>
Related Topic