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 -N -r1.6 -r1.6.2.1
--- openacs-4/packages/workflow/sql/oracle/workflow-procedural-create.sql	11 Dec 2003 21:40:15 -0000	1.6
+++ openacs-4/packages/workflow/sql/oracle/workflow-procedural-create.sql	16 Dec 2004 22:34:25 -0000	1.6.2.1
@@ -61,7 +61,7 @@
     -- All workflow data cascades from the case id
     delete 
     from   workflow_cases
-    where  object_id = workflow_case_pkg.del.delete_case_id;
+    where  case_id = workflow_case_pkg.del.delete_case_id;
 
     return 0;
   end del;
