From 2f50a395c5f90d815d286a5de876810115e7b128 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 2 Dec 2015 11:44:04 +0100 Subject: [PATCH] Fix index name on PROJECT_QPROFILES on H2 On H2, index name was PROJECT_QPROFILES_UNIQUE, but on other databases it's UNIQ_PROJECT_QPROFILES --- 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 e3025a4053f..9b51ac3d35c 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 @@ -699,7 +699,7 @@ CREATE UNIQUE INDEX "FILE_SOURCES_UUID_TYPE_UNIQUE" ON "FILE_SOURCES" ("FILE_UUI CREATE INDEX "FILE_SOURCES_UPDATED_AT" ON "FILE_SOURCES" ("UPDATED_AT"); -CREATE UNIQUE INDEX "PROJECT_QPROFILES_UNIQUE" ON "PROJECT_QPROFILES" ("PROJECT_UUID", "PROFILE_KEY"); +CREATE UNIQUE INDEX "UNIQ_PROJECT_QPROFILES" ON "PROJECT_QPROFILES" ("PROJECT_UUID", "PROFILE_KEY"); CREATE UNIQUE INDEX "CE_QUEUE_UUID" ON "CE_QUEUE" ("UUID"); -- 2.39.5