The mysql upgrade file did not update the database after a patch. I checked the code in the mysql upgrade file and the changes in the file weren't applied to the database. Is there a way to re-run these upgrade scripts manually?
Magento stores the current version for each setup resource in the
core_resource database table. So if your script was
you need to look for
code="foo_setup" in this table and change the version numbers from "1.0.1" back to "1.0.0". Then the upgrade script will be triggered again by the next request.