]> source.dussan.org Git - sonarqube.git/commitdiff
Fix index name on ACTIVITIES on H2
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 2 Dec 2015 13:49:22 +0000 (14:49 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 3 Dec 2015 18:11:09 +0000 (19:11 +0100)
On H2, index name was LOG_KEY_INDEX, but it's ACTIVITIES_LOG_KEY on other database

sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl

index 8ab0c883b00ade3553d2370815d6b899eda0d121..00275ed9fe0fe0bbee32238b4281f2436498633d 100644 (file)
@@ -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");