Index: openacs-4/packages/related-items/sql/postgresql/related-items-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/related-items/sql/postgresql/related-items-create.sql,v
diff -u -N -r1.1 -r1.2
--- openacs-4/packages/related-items/sql/postgresql/related-items-create.sql	18 Jun 2004 18:01:30 -0000	1.1
+++ openacs-4/packages/related-items/sql/postgresql/related-items-create.sql	1 Jul 2004 11:01:01 -0000	1.2
@@ -13,7 +13,9 @@
 -- http://www.fsf.org/copyleft/gpl.html
 
 create table content_rels (
-        rel_id         integer references acs_rels(rel_id)
+        rel_id         integer 
+                       constraint content_rels_acs_rel_id_fk
+                       references acs_rels(rel_id)
 );
 
 comment on table content_rels is 'content_rels is for higher level content relations supported by the related-items package.  This is a stupid table -- just there to feed the table gods.  DonB rescue me from this absurdity.';
