You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run a seeder command with additional path it produces the unexpected output.
Steps To Reproduce:
In a fresh laravel app run the following command
php artisan make:seed PathOne/PathTwo/SeederClass
This will create a file in database_path('seeders/PathOne/PathTwo') with following content
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class PathOne/PathTwo/SeederClass extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
//
}
}
The text was updated successfully, but these errors were encountered:
It seems there's no support for this yet. Only for single classes. If you wish to have namespace support as well we're welcoming PR's. I might take a look at this myself eventually but for now we're welcoming PR's. Thanks
Description:
when I run a seeder command with additional path it produces the unexpected output.
Steps To Reproduce:
In a fresh laravel app run the following command
php artisan make:seed PathOne/PathTwo/SeederClass
This will create a file in
database_path('seeders/PathOne/PathTwo')
with following contentThe text was updated successfully, but these errors were encountered: