[open-ils-commits] [GIT] Evergreen ILS branch master updated. 8ec458c85b49fb5014ba9e7264d41fd3a55a30d1

Evergreen Git git at git.evergreen-ils.org
Wed Feb 28 11:36:08 EST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  8ec458c85b49fb5014ba9e7264d41fd3a55a30d1 (commit)
      from  e1e36e133d81248245630efd633810ea6493b792 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8ec458c85b49fb5014ba9e7264d41fd3a55a30d1
Author: Galen Charlton <gmc at equinoxinitiative.org>
Date:   Wed Feb 28 11:41:30 2018 -0500

    LP#1676608: avoid constraint creation that requires a TARDIS
    
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/sql/Pg/upgrade/1095.schema.copy_alerts.sql b/Open-ILS/src/sql/Pg/upgrade/1095.schema.copy_alerts.sql
index ceaba70..e5b2ed0 100644
--- a/Open-ILS/src/sql/Pg/upgrade/1095.schema.copy_alerts.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/1095.schema.copy_alerts.sql
@@ -83,10 +83,6 @@ BEGIN
 END;
 $f$ LANGUAGE PLPGSQL VOLATILE COST 50;
 
-CREATE CONSTRAINT TRIGGER inherit_asset_copy_alert_copy_fkey
-        AFTER UPDATE OR INSERT ON asset.copy_alert
-        DEFERRABLE FOR EACH ROW EXECUTE PROCEDURE evergreen.asset_copy_alert_copy_inh_fkey();
-
 CREATE TABLE actor.copy_alert_suppress (
     id          serial primary key,
     org         int not null references actor.org_unit (id) on delete cascade,
@@ -105,6 +101,10 @@ CREATE TABLE asset.copy_alert (
     ack_staff   bigint references actor.usr (id) on delete set null
 );
 
+CREATE CONSTRAINT TRIGGER inherit_asset_copy_alert_copy_fkey
+        AFTER UPDATE OR INSERT ON asset.copy_alert
+        DEFERRABLE FOR EACH ROW EXECUTE PROCEDURE evergreen.asset_copy_alert_copy_inh_fkey();
+
 CREATE VIEW asset.active_copy_alert AS
     SELECT  *
       FROM  asset.copy_alert

-----------------------------------------------------------------------

Summary of changes:
 .../src/sql/Pg/upgrade/1095.schema.copy_alerts.sql |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list