laravel-roles: Php artisan migrate and seed not working accordingly

I have fresh install Laravel 5.8 and then I change the inside of RolesTableSeeder.php into this: image

and then when I run the php artisan migrate:fresh --seed, it run the seed on different files

image

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

There’s no error, when I remove the following lines from DatabaseSeeder.php: use Database\Seeds\PermissionsTableSeeder; use Database\Seeds\RolesTableSeeder; use Database\Seeds\ConnectRelationshipsSeeder;

FYI - Laravel version is 6.x.