From: Richard Millet Date: Wed, 13 Apr 2016 17:15:37 +0000 (-0700) Subject: CSPACE-6937: Fixed name of unique constraint for persons_common's short ID column. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=18f27fb526c772ed7baacda4382b5e3075911db2;p=tmp%2Fjakarta-migration.git CSPACE-6937: Fixed name of unique constraint for persons_common's short ID column. --- diff --git a/3rdparty/nuxeo/nuxeo-server/6.0-HF21/config/vcsconfig.sql.txt b/3rdparty/nuxeo/nuxeo-server/6.0-HF21/config/vcsconfig.sql.txt index 577a639d9..57f78f8fc 100644 --- a/3rdparty/nuxeo/nuxeo-server/6.0-HF21/config/vcsconfig.sql.txt +++ b/3rdparty/nuxeo/nuxeo-server/6.0-HF21/config/vcsconfig.sql.txt @@ -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); #