From b9992f693bd6280e5c56214ed99dcffb777aa126 Mon Sep 17 00:00:00 2001 From: Lori Bailey <44073106+elceebee@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:09:36 +0000 Subject: [PATCH] Add comment to sanitise script as it may contain ppi --- db/scripts/sanitise.sql | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/db/scripts/sanitise.sql b/db/scripts/sanitise.sql index bc01192817a..c7edce143a0 100644 --- a/db/scripts/sanitise.sql +++ b/db/scripts/sanitise.sql @@ -158,3 +158,11 @@ UPDATE "vendor_api_users" SET full_name = concat('Api User', id), email_address = concat('application_reference_', id, '@example.com'); + +-- WithdrawalReason +UPDATE "withdrawal_reasons" +SET + comment = CASE + WHEN comment IS NULL THEN NULL + ELSE generate_lorem_ipsum('short') + END;