I know that I can run specific migrations using execute
with up
/ down
and version number, ie
doctrine:migrations:execute YYYYMMDDHHMMSS --down
My question then - is there an easier way to simply run the next or previous migration without having to look up version numbers?
Ideally I would like something like
doctrine:migrations:execute --down n
Where n
is the number of migrations to run from current in the specified direction.
(same idea as rake db:rollback STEP=n
)