Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[5.4] Show output with migration name before starting a migration or …
…rollback Laravel shows the migration name when an UP or DOWN has finished, but not before it starts. It would be useful to see the migration name before it starts, in the runUp and runDown methods. I spent some time today trying to figure out why my simple migration was just hanging -- rebooting my VM and such, when it was actually a 10+ minute long migration a teammate had slipped in that was running before mine. Since there is no output until finished, I thought something was hanging. It would have been useful to know that it was busy running THAT migration. For language, I’d propose this: ```$this->note("<info>Rolling back:</info> {$file}"); $this->note("<info>Migrating:</info> {$file}");``` (to matched the ‘Rolled Back: ‘ and ‘Migrated: ' messages on completion.)
- Loading branch information