From be521cd195de09f0ed4aead1db7fd074b1fd51b4 Mon Sep 17 00:00:00 2001 From: Stevan Earl Date: Thu, 13 Aug 2026 10:37:18 -0700 Subject: [PATCH] Correct participate spelling in trigger errors --- db/schemas/lib/triggers/create/biography_data.m4 | 4 ++-- db/schemas/lib/triggers/create/watches.m4 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/db/schemas/lib/triggers/create/biography_data.m4 b/db/schemas/lib/triggers/create/biography_data.m4 index 9412ee7..d845dc3 100644 --- a/db/schemas/lib/triggers/create/biography_data.m4 +++ b/db/schemas/lib/triggers/create/biography_data.m4 @@ -781,7 +781,7 @@ CREATE OR REPLACE FUNCTION biography_data_func () IF FOUND THEN RAISE EXCEPTION integrity_constraint_violation USING MESSAGE = 'Error on UPDATE of BIOGRAPHY_DATA' - , DETAIL = 'An individual cannot particpate in a follow (be a' + , DETAIL = 'An individual cannot participate in a follow (be a' || ' ROLES.Participant) before' || ' their entry to the study' || ' (before BIOGRAPHY_DATA.EntryDate)' @@ -834,7 +834,7 @@ CREATE OR REPLACE FUNCTION biography_data_func () IF FOUND THEN RAISE EXCEPTION integrity_constraint_violation USING MESSAGE = 'Error on UPDATE of BIOGRAPHY_DATA' - , DETAIL = 'An individual cannot particpate in a follow (be a' + , DETAIL = 'An individual cannot participate in a follow (be a' || ' ROLES.Participant) after' || ' their departure from the study' || ' (after BIOGRAPHY_DATA.DepartDate)' diff --git a/db/schemas/lib/triggers/create/watches.m4 b/db/schemas/lib/triggers/create/watches.m4 index 6e4a31d..fba1d6a 100644 --- a/db/schemas/lib/triggers/create/watches.m4 +++ b/db/schemas/lib/triggers/create/watches.m4 @@ -179,7 +179,7 @@ CREATE OR REPLACE FUNCTION watches_func () IF FOUND THEN RAISE EXCEPTION integrity_constraint_violation USING MESSAGE = 'Error on UPDATE of WATCHES' - , DETAIL = 'An individual cannot particpate (be a' + , DETAIL = 'An individual cannot participate (be a' || ' ROLES.Participant) in a follow before' || ' their entry to the study' || ' (before BIOGRAPHY_DATA.EntryDate)' @@ -231,7 +231,7 @@ CREATE OR REPLACE FUNCTION watches_func () IF FOUND THEN RAISE EXCEPTION integrity_constraint_violation USING MESSAGE = 'Error on UPDATE of WATCHES' - , DETAIL = 'An individual cannot particpate (be a' + , DETAIL = 'An individual cannot participate (be a' || ' ROLES.Participant) in a follow after' || ' their departure from the study' || ' (after BIOGRAPHY_DATA.EntryDate)' -- 2.34.1