[open-ils-commits] r12928 - trunk/Open-ILS/src/support-scripts/test-scripts (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Apr 20 16:31:42 EDT 2009
Author: erickson
Date: 2009-04-20 16:31:37 -0400 (Mon, 20 Apr 2009)
New Revision: 12928
Modified:
trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql
Log:
clear away the li notes if necessary
Modified: trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql
===================================================================
--- trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql 2009-04-20 20:06:00 UTC (rev 12927)
+++ trunk/Open-ILS/src/support-scripts/test-scripts/purge_po.sql 2009-04-20 20:31:37 UTC (rev 12928)
@@ -26,6 +26,7 @@
ELSE
DELETE FROM acq.lineitem_detail WHERE lineitem = li.id;
DELETE FROM acq.lineitem_attr WHERE lineitem = li.id;
+ DELETE from acq.lineitem_note WHERE lineitem = li.id;
DELETE from acq.lineitem WHERE id = li.id;
END IF;
More information about the open-ils-commits
mailing list