From e888f2db7c9e9d8e975900ab08828afe413f8fea Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 28 Aug 2017 12:55:50 -0400 Subject: [PATCH] LP#1668734: pin ID of new A/T definition Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 10 +++++----- ...XXXX.data.action-trigger.event_definition.sms_preminder.sql | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 3c505b8e2b..a3fa96eaef 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -14725,7 +14725,7 @@ SELECT SETVAL('vandelay.merge_profile_id_seq'::TEXT, 100); -- 3 Day Courtesy Notice by SMS INSERT INTO action_trigger.event_definition (id, active, owner, name, hook, validator, reactor, delay, delay_field, group_field, template) - VALUES (XXXX, FALSE, 1, + VALUES (54, FALSE, 1, '3 Day Courtesy Notice by SMS', 'checkout.due', 'CircIsOpen', 'SendSMS', '-3 days', 'due_date', 'usr', @@ -14750,10 +14750,10 @@ You have items due soon: $$); INSERT INTO action_trigger.environment (event_def, path) VALUES - (XXXX, 'circ_lib.billing_address'), - (XXXX, 'target_copy.call_number'), - (XXXX, 'usr'), - (XXXX, 'usr.home_ou'); + (54, 'circ_lib.billing_address'), + (54, 'target_copy.call_number'), + (54, 'usr'), + (54, 'usr.home_ou'); -- user activity seed data -- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.action-trigger.event_definition.sms_preminder.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.action-trigger.event_definition.sms_preminder.sql index b03a993d1e..f404f1e7c5 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.action-trigger.event_definition.sms_preminder.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.action-trigger.event_definition.sms_preminder.sql @@ -9,7 +9,7 @@ SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); INSERT INTO action_trigger.event_definition (id, active, owner, name, hook, validator, reactor, delay, delay_field, group_field, template) - VALUES (XXXX, FALSE, 1, + VALUES (54, FALSE, 1, '3 Day Courtesy Notice by SMS', 'checkout.due', 'CircIsOpen', 'SendSMS', '-3 days', 'due_date', 'usr', @@ -34,9 +34,9 @@ You have items due soon: $$); INSERT INTO action_trigger.environment (event_def, path) VALUES - (XXXX, 'circ_lib.billing_address'), - (XXXX, 'target_copy.call_number'), - (XXXX, 'usr'), - (XXXX, 'usr.home_ou'); + (54, 'circ_lib.billing_address'), + (54, 'target_copy.call_number'), + (54, 'usr'), + (54, 'usr.home_ou'); COMMIT; -- 2.11.0