database/seeds/UsuarioSeeder.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' => 'Marcelino',
            'email' => 'correo@correo.com',
            'email_verified_at' => Carbon::now(),
            'password' => Hash::make('123456789'),
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now(),
        ]);
        DB::table('users')->insert([
            'name' => 'Pedro',
            'email' => 'correo2@correo.com',
            'email_verified_at' => Carbon::now(),
            'password' => Hash::make('123456789'),
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now(),
        ]);
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ 'name' => 'Marcelino' , 'email' => 'correo@correo.com' , 'email_verified_at' => Carbon :: now ( ) , 'password' => Hash :: make ( '123456789' ) , 'created_at' => Carbon :: now ( ) , 'updated_at' => Carbon :: now ( ) , ] ) ; DB :: table ( 'users' ) -> insert ( [ 'name' => 'Pedro' , 'email' => 'correo2@correo.com' , 'email_verified_at' => Carbon :: now ( ) , 'password' => Hash :: make ( '123456789' ) , 'created_at' => Carbon :: now ( ) , 'updated_at' => Carbon :: now ( ) , ] ) ; }
Run the database seeds.
Run the database seeds .