You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							26 lines
						
					
					
						
							613 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							26 lines
						
					
					
						
							613 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								namespace Database\Seeders;
							 | 
						|
								
							 | 
						|
								use Illuminate\Database\Seeder;
							 | 
						|
								use App\Models\User;
							 | 
						|
								use Illuminate\Support\Facades\Hash;
							 | 
						|
								
							 | 
						|
								class ServiciosSeeder extends Seeder
							 | 
						|
								{
							 | 
						|
								    public function run(): void
							 | 
						|
								    {
							 | 
						|
								        User::updateOrCreate(
							 | 
						|
								            [ 'email' => 'jorge@jorge.com' ],
							 | 
						|
								            [
							 | 
						|
								                'name' => 'Jorge',
							 | 
						|
								                'apellido' => 'Servicios',
							 | 
						|
								                'telefono' => '1234567890',
							 | 
						|
								                'password' => Hash::make('servicios123'),
							 | 
						|
								                'tipos_id' => 4,
							 | 
						|
								                'puesto_id' => 1,
							 | 
						|
								                'departamento_id' => 1
							 | 
						|
								            ]
							 | 
						|
								        );
							 | 
						|
								    }
							 | 
						|
								}
							 | 
						|
								
							 |