Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

make php artisan db:seed working

class DatabaseSeeder extends Seeder
{
    public function run()
    {
        $this->call(ArticlesTableSeeder::class);
        $this->call(UsersTableSeeder::class);
    }
}
Source by www.toptal.com #
 
PREVIOUS NEXT
Tagged: #php #artisan #working
ADD COMMENT
Topic
Name
9+5 =