I'd like to generate my SQL from my entities.
I know the commands php app/console doctrine:schema:create --dump-sql and doctrine:schema:update, but apparently there is no way to filter on Entities, not even to filter on Bundle, but only on EntityManager ?!
Did I miss something ? I thought that was a pretty common need, and pretty easy to develop..
P.S. I need it because I have an old weird Database shared with others softwares that isn't exactly how Doctrine would like to, so if I don't filter I'd have some errors, or in the best case lots of useless/wrong modifications.
doctrine:mapping:import). And as I said in the "P.S", because of the weirdness of those tables it generates some errors if Idoctrine:schema:updateeverything, and if I correct those errors it generates lots of useless and/or wrong SQL code.