
| Path : /home/gujo45me/public_html/katterin1/database/seeds/ |
| Disable Functions : exec,passthru,shell_exec,system System : Linux server-604606.appsiete.com 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 [ Home ][ Zone-h ][ Jumping ][ Symlink ][ Mass Depes ][ Command ] |
| Current File : /home/gujo45me/public_html/katterin1/database/seeds/UsuarioSeeder.php |
<?php
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class UsuarioSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('usuarios')->insert([
'id_rol' => 1,
'id_local' => 1,
'username' => 'admin',
'password' => bcrypt('eladmin123'),
'nombres' => 'ADMINISTRADOR',
'apellidos' => 'DEL SISTEMA',
'dni' => '00000000',
'fecha_nacimiento' => null,
'domicilio' => 'NO ELIMINAR',
'email' => 'carlosyasmany14@gmail.com',
'telefono' => '983621793',
'genero' => '',
'url_avatar' => 'img/avatar/default.png',
]);
}
}