From 835f86b6a48db711dc1109bccf7e86e3af02089b Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 2 Dec 2015 14:49:22 +0100 Subject: [PATCH] Fix index name on ACTIVITIES on H2 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.5