سؤال

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.

هل كانت مفيدة؟

المحلول

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

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top