I want to run a seeder command through web.php here is my code
Route::get('permission-seeder/{class}',function($class){ Artisan::call("db:seed --class=$class"); });
I am getting this error
Symfony \ Component \ Console \ Exception \ CommandNotFoundException The command "db:seed --class=PermissionSeeder" does not exist.
Although this seeder exists in the directory
can anyone sort it out
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire