Skip to content

Commit

Permalink
seeeddeeeerrr
Browse files Browse the repository at this point in the history
  • Loading branch information
AndikaHilmiHamdani committed Mar 18, 2022
1 parent e45e383 commit 6bf6978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/seeders/UserManajerSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ class UserManajerSeeder extends Seeder
*/
public function run()
{
DB::table('users')->insert([
$manajer= User::create([
'nama_karyawan'=>'Manajer',
'alamat'=> 'jalanin doang ga jadian',
'no_hp'=>'12344',
'email'=>'manajer@rejiku.com',
'password'=>Hash::make('12345678'),
]);
DB::table('users') ->assignRole('manajer');
$manajer ->assignRole('manajer');
}
}

0 comments on commit 6bf6978

Please sign in to comment.