database/seeders/RoleSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Role::create(['jenis_role'=>'Staf']);
        Role::create(['jenis_role'=>'Guru']);
        Role::create(['jenis_role'=>'Ortu']);
    }
public function run ( ) { Role :: create ( [ 'jenis_role' => 'Staf' ] ) ; Role :: create ( [ 'jenis_role' => 'Guru' ] ) ; Role :: create ( [ 'jenis_role' => 'Ortu' ] ) ; }
Run the database seeds.
Run the database seeds .