-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
--all-or-nothing
option is very confusing
#1279
Comments
What do the docs say? |
I'll try to look into it but have you seen #1161 ? Before it was merged, I think the I think the code in that MR might be wrong. It should not fall back on the configuration as soon as |
Cc @grachevko |
Added a test case in the PR confirming the current (and unexpected) behavior. |
I was running the following:
Turns out just passing
--all-or-nothing
does not do anything, you have to pass--all-or-nothing=1
or--all-or-nothing=0
for it to have any effect:migrations/lib/Doctrine/Migrations/Tools/Console/ConsoleInputMigratorConfigurationFactory.php
Line 24 in 5713b45
This is very confusing imo and there are lots of examples out there that just pass
--all-or-nothing
.Am I missing something?
The text was updated successfully, but these errors were encountered: