[open-ils-commits] r12628 - trunk/Open-ILS/src/sql/Pg (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Mar 20 11:21:17 EDT 2009


Author: scottmk
Date: 2009-03-20 11:21:15 -0400 (Fri, 20 Mar 2009)
New Revision: 12628

Modified:
   trunk/Open-ILS/src/sql/Pg/200.schema.acq.sql
Log:
Add ON DELETE CASCADE to distribution_formula_entry.formula


Modified: trunk/Open-ILS/src/sql/Pg/200.schema.acq.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/200.schema.acq.sql	2009-03-20 15:20:39 UTC (rev 12627)
+++ trunk/Open-ILS/src/sql/Pg/200.schema.acq.sql	2009-03-20 15:21:15 UTC (rev 12628)
@@ -285,6 +285,7 @@
 CREATE TABLE acq.distribution_formula_entry (
 	id			SERIAL PRIMARY KEY,
 	formula		INTEGER NOT NULL REFERENCES acq.distribution_formula(id)
+				ON DELETE CASCADE
 				DEFERRABLE INITIALLY DEFERRED,
 	position	INTEGER NOT NULL,
 	item_count	INTEGER NOT NULL,



More information about the open-ils-commits mailing list