#
# Add constraint to the relations table to prevent duplicate relationships
#
-LOG.INFO Adding constraint to the relations table to prevent duplicate relationships
+#LOG.INFO Adding constraint to the relations table to prevent duplicate relationships
#TEST:
-SELECT constraint_name FROM information_schema.constraint_column_usage WHERE table_name = 'relations_common' AND constraint_name = 'relations_unique';
+#SELECT constraint_name FROM information_schema.constraint_column_usage WHERE table_name = 'relations_common' AND constraint_name = 'relations_unique';
#IF: emptyResult
-ALTER TABLE relations_common add CONSTRAINT relations_unique UNIQUE (subjectcsid, subjectrefname, relationshiptype, objectcsid, objectrefname);
+#ALTER TABLE relations_common add CONSTRAINT relations_unique UNIQUE (subjectcsid, subjectrefname, relationshiptype, objectcsid, objectrefname);