database/seeders/UsersTableSeeder.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([
            [
                'razon_social' => null
                , 'name' => 'Benito Pablo'
                , 'primer_apellido' => 'Juárez'
                , 'segundo_apellido' => 'García'
                , 'fecha_nacimiento' => '1806-03-21'
                , 'sexo' => 'masculino'
                , 'email' => 'benito@mexico.mx'
                , 'perfil' => 'Administrador'
                , 'password' => bcrypt('12345678')
                , 'dias_visita' => null
                , 'estatus' => 'activo'
                , 'created_at' => '2022-02-26 09:29:00'
                , 'updated_at' => '2022-02-26 09:29:00'
            ]
        ]);
    }
public function run ( ) { DB :: table ( 'users' ) -> insert ( [ [ 'razon_social' => null , 'name' => 'Benito Pablo' , 'primer_apellido' => 'Juárez' , 'segundo_apellido' => 'García' , 'fecha_nacimiento' => '1806-03-21' , 'sexo' => 'masculino' , 'email' => 'benito@mexico.mx' , 'perfil' => 'Administrador' , 'password' => bcrypt ( '12345678' ) , 'dias_visita' => null , 'estatus' => 'activo' , 'created_at' => '2022-02-26 09:29:00' , 'updated_at' => '2022-02-26 09:29:00' ] ] ) ; }
Run the database seeds.
Run the database seeds .