database/seeds/AdminSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('admins')->insert([
            'nama' => 'Bunbun',
            'username' => 'powerplay',
            'password' => Hash::make('powerplay2020')
        ]);
    }
public function run ( ) { DB :: table ( 'admins' ) -> insert ( [ 'nama' => 'Bunbun' , 'username' => 'powerplay' , 'password' => Hash :: make ( 'powerplay2020' ) ] ) ; }
Run the database seeds.
Run the database seeds .