Index: openacs-4/packages/attachments/sql/oracle/attachments-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/attachments/sql/oracle/attachments-create.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/attachments/sql/oracle/attachments-create.sql	1 Jul 2002 20:16:23 -0000	1.1
+++ openacs-4/packages/attachments/sql/oracle/attachments-create.sql	2 Jul 2002 19:41:20 -0000	1.2
@@ -35,7 +35,8 @@
                                 references acs_objects(object_id)
                                 on delete cascade,
     item_id                     constraint attachments_item_id_fk
-                                references cr_items(item_id),
+                                references acs_objects(object_id)
+                                on delete cascade,
     constraint                  attachments_pk
                                 primary key (object_id, item_id)
 );
