Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-relationships-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-relationships-create.sql,v
diff -u -N -r1.27 -r1.28
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-relationships-create.sql	7 Jun 2008 20:28:52 -0000	1.27
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-relationships-create.sql	4 Jan 2010 19:54:37 -0000	1.28
@@ -378,14 +378,15 @@
                         constraint acs_data_links_obj_two_fk
                         references acs_objects (object_id)
                         on delete cascade,
+        relation_tag    varchar(100),
         constraint acs_data_links_un unique
-        (object_id_one, object_id_two)
+        (object_id_one, object_id_two, relation_tag)
 );
 
 create index acs_data_links_id_one_idx on acs_data_links (object_id_one);
 create index acs_data_links_id_two_idx on acs_data_links (object_id_two);
+create index acs_data_links_rel_tag_idx on acs_data_links (relation_tag);
 
-
 --------------
 -- TRIGGERS --
 --------------
