Replace baseline asset.copy.id fkey constraints with ones that understand inheritance...
authorMike Rylander <mrylander@gmail.com>
Mon, 24 Apr 2017 16:40:37 +0000 (12:40 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 May 2017 16:06:52 +0000 (12:06 -0400)
commitc611436c46aca90164cc6d9da11893394b1f4715
tree68938635d2c585ecdc743e763a623866d7531130
parente9c723ed798077d8299ae81780bf313701e9e325
Replace baseline asset.copy.id fkey constraints with ones that understand inheritance, and change all existing contstraints to do the same via upgrade script.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
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.inheritance-constraint-trigger.sql [new file with mode: 0644]