Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel 8 seeding

/**
 * Run the database seeders.
 *
 * @return void
 */
public function run()
{
    $this->call([
        UserSeeder::class,
        PostSeeder::class,
        CommentSeeder::class,
    ]);
}
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #seeding
ADD COMMENT
Topic
Name
9+3 =