diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-12-02 10:15:17 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-12-03 19:11:09 +0100 |
commit | 3aeb57e6decbd7695e95a96c3416626fa19ea000 (patch) | |
tree | d4bac2b631942ed0c063b0c4b42eb30db5275421 /sonar-db | |
parent | 3753d3c79d1c071fd651a8a97cc33a38aa91a231 (diff) | |
download | sonarqube-3aeb57e6decbd7695e95a96c3416626fa19ea000.tar.gz sonarqube-3aeb57e6decbd7695e95a96c3416626fa19ea000.zip |
Fix index name on RULES_PROFILES on H2
On H2, index name was PROFILE_UNIQUE_KEY, but on other database it's UNIQ_QPROF_KEY
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 ec38443f492..e3025a4053f 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 @@ -691,7 +691,7 @@ CREATE UNIQUE INDEX "QUALITY_GATES_UNIQUE" ON "QUALITY_GATES" ("NAME"); CREATE UNIQUE INDEX "ACTIVE_RULES_UNIQUE" ON "ACTIVE_RULES" ("PROFILE_ID","RULE_ID"); -CREATE UNIQUE INDEX "PROFILE_UNIQUE_KEY" ON "RULES_PROFILES" ("KEE"); +CREATE UNIQUE INDEX "UNIQ_QPROF_KEY" ON "RULES_PROFILES" ("KEE"); CREATE INDEX "FILE_SOURCES_PROJECT_UUID" ON "FILE_SOURCES" ("PROJECT_UUID"); |