]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
Disable creation of relations_common unique constraint.
authorremillet <remillet@users.noreply.github.com>
Tue, 11 Sep 2018 23:51:16 +0000 (16:51 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Sep 2018 23:51:16 +0000 (16:51 -0700)
3rdparty/nuxeo/nuxeo-server/7.10-HF17/config/vcsconfig.sql.txt

index 4144c65dba41d60899c8153887ee0e027b827095..e9bb4bd728a51e754499887feba73ba926a396be 100644 (file)
@@ -31,10 +31,10 @@ ALTER TABLE batch_common add CONSTRAINT batchname_unique UNIQUE (name);
 #
 # 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);