Question

Im baking tables in cakephp. One table named abc which I baked successfully and I need to remove this table from database and also from the cakephp folder. I deleted all models, controllers, views and test fixture for that table. But due to some reasons now when Im baking my next tables it gives me an error "Missing database table 'abc' for model 'abc'. I dont know from where the error is coming. I deleted all files related to abc.

Was it helpful?

Solution

Try deleting content of the app/tmp/cache/models directory.

OTHER TIPS

Try deleting all of the models in \app\models and then rebake them.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top