diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-12-02 13:37:28 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-12-03 19:11:09 +0100 |
commit | e960511eada916208ec9a953b456a3529981fabe (patch) | |
tree | dd79ee4a2fa233ab6475f871c541d054593a6722 /sonar-db | |
parent | 2f50a395c5f90d815d286a5de876810115e7b128 (diff) | |
download | sonarqube-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.ddl | 2 |
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"); |