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()
    {
        User::create([
            'firstname' => 'Patricio',
            'lastname' => 'Caicedo',
            'email' => 'patriciocaicedobelmar@gmail.com',
            'password' => bcrypt('12345678'),
            'estado_id' => '1'
        ])->assignRole('Admin');
    }
public function run ( ) { User :: create ( [ 'firstname' => 'Patricio' , 'lastname' => 'Caicedo' , 'email' => 'patriciocaicedobelmar@gmail.com' , 'password' => bcrypt ( '12345678' ) , 'estado_id' => '1' ] ) -> assignRole ( 'Admin' ) ; }
Run the database seeds.
Run the database seeds .