-
-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Description
I'm submitting a...
- Bug report
- Feature request
- Question
Current behavior
Currently there is no ability to see what migrations will be run without actually running those migrations.
Expected behavior
Additional runnable commands upToRun
and downToRun
.
What is the motivation / use case for changing the behavior?
When deploying, we want to validate our data after running migrations. Doing so efficiently requires some amount of work (hashing collections) prior to running migrations. Given that most of the time we won't actually have any migrations to run, it would be extremely helpful if there was a method of knowing beforehand how many migrations will run so that we don't have to do this pre-computation.
I'm happy to work on a PR for this but am hoping not to maintain a separate fork. Assuming it met your quality standards, would you open to considering a PR for this functionality?
Metadata
Metadata
Assignees
Labels
No labels