Wednesday, April 24, 2013

CakePHP: Update model after changing database

After changes are made in the Database, to see the changes updated or reflect to the cakephp models, do the following
  1. Delete all the temporary model files from app/tmp/cache/models/*.
  2. In app/Config/core.php, change the debug value from 0 to 3, load your app in browser and again change it from 3 to 0