-
Notifications
You must be signed in to change notification settings - Fork 11k
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
db:seed --class=blahblah has no response #11375
Comments
I can't replicate. You should get an exception thrown. |
The code looks like this: /**
* Get a seeder instance from the container.
*
* @return \Illuminate\Database\Seeder
*/
protected function getSeeder()
{
$class = $this->laravel->make($this->input->getOption('class'));
return $class->setContainer($this->laravel)->setCommand($this);
} |
I think the issue is if you specify a class to seed (that exists), artisan doesn't provide any confirmation output (unlike just calling |
I think that's right? |
Technically, yes. Perhaps there's risk of confusion, though, as calling |
Ok well whether it's a bug or not I just think it should provide output of success. Every other artisan function I've used seems to provide some sort of feedback Sent from my iPhone, sorry about the typos.
|
Just FYI, this is not solved also in the Version (5.3). |
Yes, all I ever had mentioned was there was no success feedback after running db:seed and specifying a seeder, but you get success feedback when you call db:seed without any arguments. I believe it should be consistent. |
Great, only took 3 years! |
Hey, Just wanted to point out a tiny bug. When you run the database seeder and specify the seeder file with class=ClassNameHere you dont get any response back in the console such as Seeded: ClassNameHere
Nothing important, but I just wanted to share this with you in case you didnt know.
The text was updated successfully, but these errors were encountered: