How to override the FOSUserBundle schema file in another bundle

I am working in symfony 2.5 with promotion for my project.

I need to add behavior to the table fos_user

so that I need to override the original schema file in my directory src/

. Defining my project as a child FOSUserBundle

works, but that's not what I want.

Is there another way?

+3


source to share


1 answer


you can copy the original schema file to your app directory
and add the behavior you need. The way is exactly like overriding
any twig templates from vendors.

      



+2


source







All Articles