-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Support configuration file when making migrations #508
Comments
Do you try with a doctrine configuration file ? |
Hi, @LeJeanbono , that's what I want to know. We are using two different doctrine configuration files for different sets of migration files. I wonder if it's possible to choose which configuration file to use when doing make:migration. |
Ok @yifei3212, what is the doctrine command that you use actualy to switch doctrine config ? |
Hi, @LeJeanbono, for example, when running the doctrine commands, I would do something like In some-migrations.yml, I can set migrations_namespace, migrations_directory, etc. I want to do the same when making a migration file, but I don't know how to. |
Ok, |
@LeJeanbono Thank you so much! |
Hi, @LeJeanbono, can I ask when could this be merged? |
@weaverryan @romaricdrigon can we make a release ? :) |
The current project I'm working on has two sets of migration systems which have completely different migration files for different tables.
The doctrine commands accept parameters, such as --em, --connection, --configuration, which makes it possible to support multiple sets of migration systems.
When using maker to make migrations, I also want to change the configurations such as 'migrations_directory' or 'migrations_namespace'. Is that possible by using the maker command?
The text was updated successfully, but these errors were encountered: