Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.7] Always show seeder info #25872

Merged
merged 1 commit into from
Oct 2, 2018
Merged

[5.7] Always show seeder info #25872

merged 1 commit into from
Oct 2, 2018

Conversation

laurencei
Copy link
Contributor

There is currently no default seeder output.

For example - if your DatabaseSeeder looks like this:

class DatabaseSeeder extends Seeder
{
    public function run()
    {
         factory(\App\User::class)->create();
    }
}

and you run db:seed - you get:

image

That is because the Seeding: xxx is only added if you use ->call(Seeder::class) inside your seeds.

This PR adds a default

image

and if you are running multiple seeders

image

Closes #11375 from 2015 :)

@taylorotwell taylorotwell merged commit 5e6473e into laravel:5.7 Oct 2, 2018
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.

2 participants