Done ticket GEPAFINBE-211

This commit is contained in:
Piyush
2025-04-28 17:07:17 +05:30
parent 1eae3efd86
commit f94cd66d3b
4 changed files with 35 additions and 9 deletions

View File

@@ -2737,4 +2737,14 @@
<sqlFile dbms="postgresql"
path="db/dump/update_form_field_data_14_04_2025.sql"/>
</changeSet>
<changeSet id="28-04-2025_PK_154315" author="Piyush Kag">
<sqlFile dbms="postgresql"
path="db/dump/update_json_template_for_notification_28_04_2025.sql"/>
</changeSet>
<changeSet id="28-04-2025_PK_163615" author="Piyush Kag">
<sqlFile dbms="postgresql"
path="db/dump/update_system_email_template_28_04_2025.sql"/>
</changeSet>
</databaseChangeLog>

View File

@@ -0,0 +1,9 @@
UPDATE notification_type
SET
title = regexp_replace(title, 'emendamento', 'soccorso istruttorio', 'gi'),
json_template = regexp_replace(json_template, 'emendamento', 'soccorso istruttorio', 'gi')
WHERE
title ~* 'emendamento'
OR json_template ~* 'emendamento';

View File

@@ -0,0 +1,7 @@
UPDATE gepafin_schema.system_email_template
SET
html_content = regexp_replace(html_content, 'emendamento', 'Soccorso Istruttorio', 'gi'),
subject = regexp_replace(subject, 'emendamento', 'Soccorso Istruttorio', 'gi')
WHERE
html_content ~* 'emendamento'
OR subject ~* 'emendamento';