Pergunta

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.

Foi útil?

Solução

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

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top