[open-ils-commits] r9577 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue May 13 10:52:23 EDT 2008
Author: dbs
Date: 2008-05-13 10:52:21 -0400 (Tue, 13 May 2008)
New Revision: 9577
Modified:
trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql
Log:
Missed a deferrable constraint
Modified: trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-05-13 14:21:08 UTC (rev 9576)
+++ trunk/Open-ILS/src/sql/Pg/040.schema.asset.sql 2008-05-13 14:52:21 UTC (rev 9577)
@@ -7,7 +7,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