We use FOSUserBundle with Doctrine and need to change the mapping. The following approach worked fine wth Symfony 2.1.x:
- Our User-Entity extends FOS\UserBundle\Model\User
- Our mapping.orm.yml maps all fields used by the bundle
This is still the recommended approach (https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/doctrine.md)
After upgrade to Symfony 2.3 this no longer works: the update "doctrine:schema:update --force" yields errors of the type
duplicate definition of column "x"
where x is any field already used by FOSUserBundle.
Does anybody know which changes cause this error?