]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-6937: Fixed name of unique constraint for persons_common's short ID column.
authorRichard Millet <remillet@yahoo.com>
Wed, 13 Apr 2016 17:15:37 +0000 (10:15 -0700)
committerRichard Millet <remillet@yahoo.com>
Wed, 13 Apr 2016 17:15:37 +0000 (10:15 -0700)
3rdparty/nuxeo/nuxeo-server/6.0-HF21/config/vcsconfig.sql.txt

index 577a639d9908436cf543bc646bf4137344cd3d50..57f78f8fc43952fe6472bb3eef8577d2b8575e0a 100644 (file)
@@ -22,10 +22,10 @@ ALTER TABLE vocabularies_common add CONSTRAINT shortid_unique UNIQUE (shortident
 LOG.INFO Adding a unique constraint to the shortidentifier column of the persons_common table
 
 #TEST:
-SELECT constraint_name FROM information_schema.constraint_column_usage WHERE table_name = 'persons_common' AND constraint_name = 'shortid_unique';
+SELECT constraint_name FROM information_schema.constraint_column_usage WHERE table_name = 'persons_common' AND constraint_name = 'persons_shortid_unique';
 
 #IF: emptyResult
-ALTER TABLE persons_common add CONSTRAINT shortid_unique UNIQUE (shortidentifier);
+ALTER TABLE persons_common add CONSTRAINT persons_shortid_unique UNIQUE (shortidentifier);
 
 
 #