Skip to content

[5.8] Add runtime for each migration to output#29149

Merged
taylorotwell merged 1 commit intolaravel:5.8from
jwpage:migration-runtime
Jul 12, 2019
Merged

[5.8] Add runtime for each migration to output#29149
taylorotwell merged 1 commit intolaravel:5.8from
jwpage:migration-runtime

Conversation

@jwpage
Copy link
Copy Markdown
Contributor

@jwpage jwpage commented Jul 12, 2019

This adds the runtime for each individual migration to the output of the artisan migrate and artisan migrate:rollback commands. I find this useful to get an idea of how long each migration will take to run in various environments (dev, staging) before deploying to production.

Example output:

Screen Shot 2019-07-12 at 4 26 25 pm

@driesvints driesvints changed the title Add runtime for each migration to output [5.8] Add runtime for each migration to output Jul 12, 2019
@taylorotwell taylorotwell merged commit 31e87e2 into laravel:5.8 Jul 12, 2019
@chelout
Copy link
Copy Markdown

chelout commented Jul 16, 2019

It would be nice to have the same with seeders

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants