symfony remove entity mapping doctrine -


when used "php app/console doctrine:schema:update --dump-sql"; have error:

->[doctrine\dbal\schema\schemaexception]
table name 'bissap_forum.category' exists.

when used "php app/console doctrine:mapping:info"; have :

found 7 mapped entities:  [ok]   bissap\platformbundle\entity\category  [ok]   bissap\platformbundle\entity\skill  [ok]   bissap\platformbundle\entity\advert  [ok]   bissap\platformbundle\entity\image  [ok]   bissap\platformbundle\entity\application  [ok]   bissap\platformbundle\entity\advertskill  [ok]   bissap\bodyconceptbundle\entity\category 

so have 2 entities same name (category), maybe why, have error, when use "php app/console doctrine:schema:update --dump-sql"?!

how can purged entities mapping?

have tried set different table name 1 of category entities ?

/**  * my\category  *  * @orm\table(name="my_category_table")  * @orm\entity  */ class category {    ... } 

this way, won't have conflict anymore.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -