Skip to content

Commit 90e7386

Browse files
authored
fix: typos (#688)
1 parent 8bd4f86 commit 90e7386

2 files changed

Lines changed: 36 additions & 1 deletion

File tree

app/Reports/Queries/Child/C19.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Illuminate\Database\Eloquent\Builder;
1010

1111
/**
12-
* Sum beneficiari with Copil din familiei cu părinți migranți (VFC_02); Copil 0-1 ani (VCV_01) OR Copil 1-5 ani (VCV_02) OR Copil 5-14 ani (VCV_03).
12+
* Sum beneficiari with Copil din familie cu părinți migranți (VFC_02); Copil 0-1 ani (VCV_01) OR Copil 1-5 ani (VCV_02) OR Copil 5-14 ani (VCV_03).
1313
*/
1414
class C19 extends ReportQuery
1515
{
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use App\Models\ICD10AM\ICD10AMDiagnostic;
6+
use App\Models\Vulnerability\Vulnerability;
7+
use Illuminate\Database\Migrations\Migration;
8+
use Illuminate\Support\Facades\DB;
9+
10+
return new class extends Migration
11+
{
12+
/**
13+
* Run the migrations.
14+
*/
15+
public function up(): void
16+
{
17+
ICD10AMDiagnostic::query()
18+
->where('name', 'like binary', '%acool%')
19+
->update([
20+
'name' => DB::raw("REPLACE(name, 'acool', 'alcool')"),
21+
]);
22+
23+
ICD10AMDiagnostic::query()
24+
->where('name', 'like binary', '%Acool%')
25+
->update([
26+
'name' => DB::raw("REPLACE(name, 'Acool', 'Alcool')"),
27+
]);
28+
29+
Vulnerability::query()
30+
->where('id', 'VFC_02')
31+
->update([
32+
'name' => 'Copil din familie cu părinți migranți',
33+
]);
34+
}
35+
};

0 commit comments

Comments
 (0)