php - How to remove an entity? -
this first time using symfony framework. trying learn doctrine. have created , entity class. have created entity called product. since there wrong deleted entity folder , trying create 1 again. framework not allowing me so. saying entity class exists. how remove previous entity class?
you must clear doctrine cache:
php app/console doctrine:cache:clear-metadata php app/console doctrine:cache:clear-query php app/console doctrine:cache:clear-result
Comments
Post a Comment