Skip to content

Commit 8827038

Browse files
authored
Added the manual update history
1 parent 996271f commit 8827038

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Data-fix: Removing Duplicate scheduled Supervisor home visits for both Child and Pregnancy.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ UPDATE
7070
program_encounter pe
7171
SET
7272
is_voided = TRUE,
73+
manual_update_history = append_manual_update_history(pe.manual_update_history, 'Voiding the duplicated visit as per support ticket #7075'),
7374
last_modified_date_time = current_timestamp + (random() * 5000 * (interval '1 millisecond')),
7475
last_modified_by_id = 10917
7576
FROM
@@ -160,6 +161,7 @@ UPDATE
160161
program_encounter pe
161162
SET
162163
is_voided = TRUE,
164+
manual_update_history = append_manual_update_history(pe.manual_update_history, 'Voiding the duplicated visit as per support ticket #7075'),
163165
last_modified_date_time = current_timestamp + (random() * 5000 * (interval '1 millisecond')),
164166
last_modified_by_id = 10917
165167
FROM

0 commit comments

Comments
 (0)