LP1724223: Fix inherited FKEY triggers
authorJason Boyer <JBoyer@library.in.gov>
Wed, 18 Oct 2017 03:10:46 +0000 (22:10 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 9 Nov 2017 15:40:34 +0000 (10:40 -0500)
commitbdcb8b6acf829940e1ebbef0feabd2c60461d082
treeccc20d93f3461be26a8c0a769390a6454b0473a2
parentb10fd571f5993691f332f1a0579babf0ae836c9a
LP1724223: Fix inherited FKEY triggers

When running these triggers on TG_OP=DELETE they
always fail and prevent the delete. Skipping the
triggers on DELETE allows things to continue as
usual.

To test
-------
Verify that after applying the patch that you can remove
notes and copy tags from copies and copies from buckets
and Vandely import queues.

Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/070.schema.container.sql
Open-ILS/src/sql/Pg/800.fkeys.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lp1724223-re-inherited.sql [new file with mode: 0644]