migrations
migrations copied to clipboard
Refresh feature request
Take a look at Laravel feature:
artisan migrate:refresh --step=5
which allows to re-run e.g. last 5 migrations. It would be great to implement similar feature!
re-run is going down and going up migrations again?
re-run is going down and going up migrations again?
exactly
I can try to create PR for this
This would belong in doctrine/migrations if it is done. However, this is already possible by just running execute on the migrations you want to rerun. I'm hesitant to introduce many different ways to do the same thing. Maybe instead we just add an example to the documentation.
Coming from Laravel, I was really looking for something like this, as we tend to do this pretty often when starting out on any project