database/seeders/UserSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
         DB::table('users')->insert([
            'name' => 'yasser',
            'email' => 'yassersaad@gmail.com',
            'password' => Hash::make('Yumnahamed1'),
            'birth_date' => '1991-09-08',
            'is_admin' => 1
        ]);
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ 'name' => 'yasser' , 'email' => 'yassersaad@gmail.com' , 'password' => Hash :: make ( 'Yumnahamed1' ) , 'birth_date' => '1991-09-08' , 'is_admin' => 1 ] ) ; }
Run the database seeds.
Run the database seeds .