FOSUserBundle with multiple entity managers - Symfony 2 set up
问题 I've been using the FOSUserBundle and the FOSOAuthBundle without issue in a project for a while now, but I've recently added another DB connection and another entity manager and, as a result, can no longer rely on auto_mapping. I've added mapping for both of the bundles to one of the entity managers and everything seemed to be working OK. However I've found an issue with the User no longer generating the correct schema when running app/console doctrine:schema:create , suggesting a mapping