Error in seeding command in Laravel

Posted 8 months ago by afoysal

I am using Laravel Framework 5.5.33. I am trying to run php artisan db:seed command but I am getting following error. My DatabaseSeeder.php file is like below.

<?php

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    public function run()
    {
        $this->call([
            ApplicantsTableSeeder::class,
            ApplicantSkillTableSeeder::class,
            SkillsTableSeeder::class,
        ]);
    }
}

I couldn't find out the Source of the error. Could anyone help me to find out the source ?

enter image description here

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

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.