Whenever we change the DB version, the system shows a message alerting the user (admin only) to update the db. When this is done, the database is updated, but Cake cache is not. This causes issues because the model objects will now be inconsistent with the db schema. We need to make sure that when updating the DB, we also clear the Cake cache.
Whenever we change the DB version, the system shows a message alerting the user (admin only) to update the db. When this is done, the database is updated, but Cake cache is not. This causes issues because the model objects will now be inconsistent with the db schema. We need to make sure that when updating the DB, we also clear the Cake cache.
Affected Controller: upgrade_controller.php