diff --git a/src/Makes/MakeSeed.php b/src/Makes/MakeSeed.php index b51e427..c8a4e9c 100755 --- a/src/Makes/MakeSeed.php +++ b/src/Makes/MakeSeed.php @@ -59,7 +59,7 @@ protected function generateFactory() protected function generateSeed() { - $path = $this->getPath($this->scaffoldCommandObj->getObjName('Name') . 'sTableSeeder', 'seed'); + $path = $this->getPath($this->scaffoldCommandObj->getObjName('Names') . 'TableSeeder', 'seed'); if ($this->files->exists($path)) { return $this->scaffoldCommandObj->comment('x ' . $path); @@ -74,7 +74,7 @@ protected function updateDatabaseSeeder() { $path = './database/seeds/DatabaseSeeder.php'; $content = $this->files->get($path); - $name = $this->scaffoldCommandObj->getObjName('Name') . 'sTableSeeder'; + $name = $this->scaffoldCommandObj->getObjName('Names') . 'TableSeeder'; if (strpos($content, $name) === false) {