From dd814a1d5f0d88dac71f6e847b1eaaa32e559476 Mon Sep 17 00:00:00 2001 From: Sonus Sundar Date: Fri, 8 Jan 2016 11:38:53 +0530 Subject: [PATCH] Fix for php artisan module:seed command This should call $name.'DatabaseSeeder' instead ob $name.'TableSeeder' --- Commands/SeedCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/SeedCommand.php b/Commands/SeedCommand.php index 255919d..c1f003a 100644 --- a/Commands/SeedCommand.php +++ b/Commands/SeedCommand.php @@ -98,7 +98,7 @@ public function getSeederName($name) $namespace = $this->laravel['modules']->config('namespace'); - return $namespace.'\\'.$name.'\Database\Seeders\\'.$name.'TableSeeder'; + return $namespace.'\\'.$name.'\Database\Seeders\\'.$name.'DatabaseSeeder'; } /**