LP#1152753: make it possible for serial units to be added to copy buckets
authorMike Rylander <mrylander@gmail.com>
Mon, 24 Apr 2017 16:40:37 +0000 (12:40 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 30 Aug 2017 18:47:31 +0000 (14:47 -0400)
commit8a6e3f3c481ff4e2f2c9deeffa812dc5816638f6
tree77a60326e256930af80f15b3a1445fc4e1a247dc
parent30dc700042e14b6fbbd27aef9413171e6c32697d
LP#1152753: make it possible for serial units to be added to copy buckets

This patch replaces the baseline asset.copy.id fkey constraints with ones
that understand inheritance, and change all existing contstraints to do the
same via upgrade script.

To test
-------
Create some serial units and verify that they can be added to a copy
bucket.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.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.inheritance-constraint-trigger.sql [new file with mode: 0644]