[open-ils-commits] r9992 - branches/rel_1_2_2/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jul 8 13:14:40 EDT 2008
Author: dbs
Date: 2008-07-08 13:14:38 -0400 (Tue, 08 Jul 2008)
New Revision: 9992
Modified:
branches/rel_1_2_2/Open-ILS/src/sql/Pg/040.schema.asset.sql
Log:
Backport from r9577 in trunk:
* Missed a deferrable constraint in asset schema
Modified: branches/rel_1_2_2/Open-ILS/src/sql/Pg/040.schema.asset.sql
===================================================================
--- branches/rel_1_2_2/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-07-08 17:14:08 UTC (rev 9991)
+++ branches/rel_1_2_2/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-07-08 17:14:38 UTC (rev 9992)
@@ -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