aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-12-02 13:37:28 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-12-03 19:11:09 +0100
commite960511eada916208ec9a953b456a3529981fabe (patch)
treedd79ee4a2fa233ab6475f871c541d054593a6722 /sonar-db
parent2f50a395c5f90d815d286a5de876810115e7b128 (diff)
downloadsonarqube-e960511eada916208ec9a953b456a3529981fabe.tar.gz
sonarqube-e960511eada916208ec9a953b456a3529981fabe.zip
Fix index name on QUALITY_GATES on H2
On H2, index name was QUALITY_GATES_UNIQUE, but it's UNIQ_QUALITY_GATES on other database
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl
index 9b51ac3d35c..317f7544bac 100644
--- a/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl
+++ b/sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl
@@ -687,7 +687,7 @@ CREATE UNIQUE INDEX "RULES_REPO_KEY" ON "RULES" ("PLUGIN_NAME", "PLUGIN_RULE_KEY
CREATE INDEX "CHARACTERISTICS_ENABLED" ON "CHARACTERISTICS" ("ENABLED");
-CREATE UNIQUE INDEX "QUALITY_GATES_UNIQUE" ON "QUALITY_GATES" ("NAME");
+CREATE UNIQUE INDEX "UNIQ_QUALITY_GATES" ON "QUALITY_GATES" ("NAME");
CREATE UNIQUE INDEX "ACTIVE_RULES_UNIQUE" ON "ACTIVE_RULES" ("PROFILE_ID","RULE_ID");