database/seeds/UsersTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        User::truncate();
        $user = new User;
        $user->name = "Miguel Angel Cornielly";
        $user->email = "mcornielly@gmail.com";
        $user->password = Hash::make('123456789');
        $user->save();
    }
public function run ( ) { User :: truncate ( ) ; $ user = new User ; $ user -> name = " Miguel Angel Cornielly " ; $ user -> email = " mcornielly@gmail.com " ; $ user -> password = Hash :: make ( '123456789' ) ; $ user -> save ( ) ; }
Run the database seeds.
Run the database seeds .