I have a file named upgrade-1.0.3-1.0.4.php
under CSB/Customer/sql/csb_customer_setup
, and I updated the code in config.xml, under CSB/etc
, to <version>1.0.4</version>
.
On localhost the upgrade is working fine. However, when I put the files in the server the upgrade is not working. I already deleted the content of var/cache
.
In PhpMyAdmin, I found a table named core_resource
which has the entry CSB_customer_setup set to 1.0.4, both on localhost and on the server. I don't know exactly what this entry is, but at least the value is the last one I defined.
I don't see why in the server it's not working. Any ideas? All help is appreciated.
Edit: here's my code for config.xml
:
<?xml version="1.0"?>
<config>
<modules>
<CSB_Customer>
<version>1.0.4</version>
</CSB_Customer>
</modules>
<global>
<helpers>
<CSB_customer>
<class>CSB_Customer_Helper</class>
</CSB_customer>
</helpers>
<resources>
<CSB_customer_setup>
<setup>
<module>CSB_Customer</module>
<class>Mage_Customer_Model_Resource_Setup</class>
</setup>
</CSB_customer_setup>
</resources>
</global>
<frontend>
<layout>
<updates>
<CSB_customer>
<file>CSB_customer.xml</file>
</CSB_customer>
</updates>
</layout>
<translate>
<modules>
<CSB_Customer>
<files>
<default>CSB_Customer.csv</default>
</files>
</CSB_Customer>
</modules>
</translate>
<routers>
<customer>
<args>
<modules>
<CSB_customer before="Mage_Customer">CSB_Customer</CSB_customer>
</modules>
</args>
</customer>
</routers>
</frontend>
</config>