问题
I'm working in symfony 2.5 with propel for my project.
I need to add a behavior to fos_user
table so I need a way to override the original schema file in my src/
directory. Defining my project as a child of FOSUserBundle
does work but this is not what I want.
Is there another way?
回答1:
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.
来源:https://stackoverflow.com/questions/26376736/how-to-override-fosuserbundles-schema-file-in-other-bundle