adding a/t environment to new event def
authorChris Sharp <csharp@georgialibraries.org>
Tue, 12 Jan 2016 17:27:50 +0000 (12:27 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 10 Oct 2016 12:41:42 +0000 (08:41 -0400)
Open-ILS/src/sql/Pg/version-upgrade/pines-post-upgrade.sql

index c1c665d..f3791b9 100644 (file)
@@ -77,6 +77,12 @@ Please do not respond to this email.  This notice was sent from an address that
 $$,
         'overdue');
 
+insert into action_trigger.environment (event_def, path) values (
+((select id from action_trigger.event_definition where name = '30 Day Overdue Email Notification' and owner = 1), 'target_copy.call_number.record.simple_record'),
+((select id from action_trigger.event_definition where name = '30 Day Overdue Email Notification' and owner = 1), 'usr'),
+((select id from action_trigger.event_definition where name = '30 Day Overdue Email Notification' and owner = 1), 'billable_tranaction.summary'),
+((select id from action_trigger.event_definition where name = '30 Day Overdue Email Notification' and owner = 1), 'circ_lib.billing_address');
+
 -- 30-day account expiration notice
 
 update action_trigger.event_definition