Allow multiple versions in doctrine:migrations:version command #142

ralphje opened this Issue Nov 12, 2013 · 1 comment


None yet
3 participants

ralphje commented Nov 12, 2013

In some cases it is useful to mark all migrations upto a certain point as completed. I'd suggest the following syntax for this:

doctrine:migrations:version --add version1..version2

This would mark all versions between (and including) version1 and version2 as added. Note that version1 and version2 do not need to exist; only at least one version should be between those values (and an error may be thrown otherwise). (That would allow version1 to be 0, or version2 to be 99999999999999).

Similar syntax could be used for other commands where it makes sense.


mikeSimonson commented Feb 15, 2015

@ralphje Can you provide a PR ?

@mikeSimonson mikeSimonson added this to the 1.2 milestone Feb 15, 2015

@mikeSimonson mikeSimonson closed this in #232 Apr 27, 2015

@stof stof modified the milestones: 1.0, 1.2 Jun 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment