New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to import a unique field set in several migration definitions ? #117
Comments
Hello. Thanks for the support. I fear that your use case it not covered too well at the moment. Give me some time to find out an acceptable solution... |
ps: not very friendly, but you can do this at the moment: |
nb: this is getting easier in version 4.8: you should now be able to define a field structure as reference, and use it for any field definition |
Hello,
Then, in migrations, we call the custom_fieldset :
We created a listener which includes the "custom_fieldset" YAML before migrations execution :
I guess you set up almost the same mecanism in 4.8. |
Hello Kaliop,
first of all, thanks for this great bundle ! So useful !
I have a use case where I must create several content types which all include the same set of content fields.
Moreover, new content types needing this same set will arrive in the future.
So, I would like to write this set's definition only once and then include it in each of my content types.
Is it possible with "ezmigrationbundle" ? How ?
Thanks for your help !
The text was updated successfully, but these errors were encountered: