[open-ils-commits] r9991 - branches/rel_1_2/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jul 8 13:14:10 EDT 2008
Author: dbs
Date: 2008-07-08 13:14:08 -0400 (Tue, 08 Jul 2008)
New Revision: 9991
Modified:
branches/rel_1_2/Open-ILS/src/sql/Pg/040.schema.asset.sql
Log:
Backport r9577 from trunk:
* Missed a deferrable constraint on asset schema
Modified: branches/rel_1_2/Open-ILS/src/sql/Pg/040.schema.asset.sql
===================================================================
--- branches/rel_1_2/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-07-08 17:09:49 UTC (rev 9990)
+++ branches/rel_1_2/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-07-08 17:14:08 UTC (rev 9991)
@@ -24,7 +24,7 @@
CREATE TABLE asset.copy_location (
id SERIAL PRIMARY KEY,
name TEXT NOT NULL,
- owning_lib INT NOT NULL REFERENCES actor.org_unit (id),
+ owning_lib INT NOT NULL REFERENCES actor.org_unit (id) DEFERRABLE INITIALLY DEFERRED,
holdable BOOL NOT NULL DEFAULT TRUE,
opac_visible BOOL NOT NULL DEFAULT TRUE,
circulate BOOL NOT NULL DEFAULT TRUE
More information about the open-ils-commits
mailing list