aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-12-02 14:49:22 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-12-03 19:11:09 +0100
commit835f86b6a48db711dc1109bccf7e86e3af02089b (patch)
tree7fccf1c5a2d465a808d1e93432a7fa6ba7158da1 /sonar-db
parent9dd9d63394cb459d4ee12a86d5b77f31ad28fb79 (diff)
downloadsonarqube-835f86b6a48db711dc1109bccf7e86e3af02089b.tar.gz
sonarqube-835f86b6a48db711dc1109bccf7e86e3af02089b.zip
Fix index name on ACTIVITIES on H2
On H2, index name was LOG_KEY_INDEX, but it's ACTIVITIES_LOG_KEY 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 8ab0c883b00..00275ed9fe0 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
@@ -563,7 +563,7 @@ CREATE TABLE "USER_TOKENS" (
-- DDL Statements for indexes
-- ----------------------------------------------
-CREATE UNIQUE INDEX "LOG_KEY_INDEX" ON "ACTIVITIES" ("LOG_KEY");
+CREATE UNIQUE INDEX "ACTIVITIES_LOG_KEY" ON "ACTIVITIES" ("LOG_KEY");
CREATE INDEX "GROUP_ROLES_RESOURCE" ON "GROUP_ROLES" ("RESOURCE_ID");