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()
    {
        $this->call(UserSeeder::class);
        $this->call(PeriodeSeeder::class);
        \App\Models\Hmtp::factory(5)->create();
        \App\Models\Alumni::factory(100)->create();
        \App\Models\Kegiatan::factory(50)->create();
    }
public function run ( ) { $ this -> call ( UserSeeder :: class ) ; $ this -> call ( PeriodeSeeder :: class ) ; \ App \ Models \ Hmtp :: factory ( 5 ) -> create ( ) ; \ App \ Models \ Alumni :: factory ( 100 ) -> create ( ) ; \ App \ Models \ Kegiatan :: factory ( 50 ) -> create ( ) ; }
Seed the application's database.
Seed the application ' s database .