Answers for "seeder trong laravel"

PHP
1

laravel run seeder

php artisan migrate:fresh --seed
Posted by: Guest on August-30-2020
0

laravel 8 seeding

/**
 * Run the database seeders.
 *
 * @return void
 */
public function run()
{
    $this->call([
        UserSeeder::class,
        PostSeeder::class,
        CommentSeeder::class,
    ]);
}
Posted by: Guest on December-04-2020

Browse Popular Code Answers by Language