database/seeders/EmployeeSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        User::create([
            'name' => 'haris',
            'address' => 'katapang',
            'gender' => 'male',
            'role_id' => '1',
            'birth_date' => "2000-03-01",
            'birth_place' => 'katapang',
            'phone' => '0812343222',
            'email' => 'haris@meko.com',
            'password' => bcrypt('haris123'),
            'image' => null
        ]);
    }
public function run ( ) { User :: create ( [ 'name' => 'haris' , 'address' => 'katapang' , 'gender' => 'male' , 'role_id' => '1' , 'birth_date' => " 2000-03-01 " , 'birth_place' => 'katapang' , 'phone' => '0812343222' , 'email' => 'haris@meko.com' , 'password' => bcrypt ( 'haris123' ) , 'image' => null ] ) ; }
Run the database seeds.
Run the database seeds .