Reseed DB after a crash

Posted 3 months ago by ludo1960

Hi guys,

After a hard disk failure, I had to reload laravel from a backup. All looked good until I run:

php artisan migrate --seed

I get the error Class RolesAndPermissionsSeeder does not exist...

In my DatabaseSeeder.php i have:

    public function run()
           // PostsTableSeeder::class,
           // CommentsTableSeeder::class,


and in my RolesAndPermissionsSeeder.php I have:

class RolesAndPermissionsSeeder extends Seeder

    public function run()

It all worked flawlessly before the crash. any ideas?

Please sign in or create an account to participate in this conversation.