Index: openacs-4/packages/workflow/sql/oracle/workflow-procedural-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/workflow/sql/oracle/workflow-procedural-create.sql,v
diff -u -r1.2.2.1 -r1.2.2.2
--- openacs-4/packages/workflow/sql/oracle/workflow-procedural-create.sql	7 Mar 2003 12:22:33 -0000	1.2.2.1
+++ openacs-4/packages/workflow/sql/oracle/workflow-procedural-create.sql	9 May 2003 13:50:02 -0000	1.2.2.2
@@ -69,7 +69,7 @@
 
     -- All workflow data cascades from the case id
     delete from workflow_cases
-        where object_id = delete_case_id;
+        where case_id = delete_case_id;
 
     return 0;
   end delete;
