From 1ae429836e777dd484af5cd26d5a66837f119b64 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc kop@karlpinc.com" Date: Thu, 21 May 2026 23:26:38 +0000 Subject: [PATCH] Remove hardcoding of aggression event We will need to execute this code to support grooming events. --- db/schemas/lib/triggers/create/roles.m4 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/db/schemas/lib/triggers/create/roles.m4 b/db/schemas/lib/triggers/create/roles.m4 index c2a3782..67ff26a 100644 --- a/db/schemas/lib/triggers/create/roles.m4 +++ b/db/schemas/lib/triggers/create/roles.m4 @@ -280,7 +280,9 @@ CREATE OR REPLACE FUNCTION roles_func () || ')' , HINT = 'The ROLES.Role must be either (sdb_actor)' || ' or (sdb_actee) for an event' - || ' with a EVENTS.Behavior of (sdb_aggression).'; + || ' with a EVENTS.Behavior of (' + || a_behavior + || ').'; END IF; END IF; @@ -303,7 +305,9 @@ CREATE OR REPLACE FUNCTION roles_func () || ' with a ROLES.Role value of (' || NEW.role || ') for an' - || ' event with a EVENTS.Behavior of (sdb_arrival):' + || ' event with a EVENTS.Behavior of (' + || a_behavior + || '):' || ' Inserting: Key (PID) = (' || NEW.pid || '), Value (EID) = (' -- 2.34.1