Index: openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.6.0d3-5.6.0d4.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.6.0d3-5.6.0d4.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.6.0d3-5.6.0d4.sql	4 Jan 2010 19:54:37 -0000	1.1
+++ openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.6.0d3-5.6.0d4.sql	5 Jan 2010 15:30:26 -0000	1.2
@@ -1,9 +1,9 @@
 alter table acs_data_links add column relation_tag varchar(100);
 
-drop index acs_data_links_un;
+create index acs_data_links_rel_tag_idx on acs_data_links (relation_tag);
 
+alter table acs_data_links drop constraint acs_data_links_un;
+
 create unique index acs_data_links_un on acs_data_links (
   object_id_one, object_id_two, relation_tag
-);
-
-create index acs_data_links_rel_tag_idx on acs_data_links (relation_tag);
\ No newline at end of file
+);
\ No newline at end of file
