database/seeders/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        \App\Models\Admin::factory()->create();
        \App\Models\User::factory(10)->create();
        $this->call([
            BrandSeeder::class,
            CategorySeeder::class,
            SubCategorySeeder::class,
            SubLevelSeeder::class,
            SliderSeeder::class,
            ProductSeeder::class,
            MultiImageSeeder::class,
        ]);
    }
public function run ( ) { \ App \ Models \ Admin :: factory ( ) -> create ( ) ; \ App \ Models \ User :: factory ( 10 ) -> create ( ) ; $ this -> call ( [ BrandSeeder :: class , CategorySeeder :: class , SubCategorySeeder :: class , SubLevelSeeder :: class , SliderSeeder :: class , ProductSeeder :: class , MultiImageSeeder :: class , ] ) ; }
Seed the application's database.
Seed the application ' s database .