]> source.dussan.org Git - sonarqube.git/commitdiff
Add missing H2 index on PROJECTS.ROOT_ID
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 10 Jul 2012 12:33:10 +0000 (14:33 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 10 Jul 2012 12:33:10 +0000 (14:33 +0200)
sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl

index 60efa80788a85adee9cbd6558780bb52f5711927..df9d24c9993ff6787a8d85149b8142119dffe610 100644 (file)
@@ -590,6 +590,8 @@ CREATE INDEX "MANUAL_MEASURES_RESOURCE_ID" ON "MANUAL_MEASURES" ("RESOURCE_ID");
 
 CREATE INDEX "PROJECTS_KEE" ON "PROJECTS" ("KEE");
 
+CREATE INDEX "PROJECTS_ROOT_ID" ON "PROJECTS" ("ROOT_ID");
+
 CREATE INDEX "RESOURCE_INDEX_KEE" ON "RESOURCE_INDEX" ("KEE");
 
 CREATE INDEX "RESOURCE_INDEX_RID" ON "RESOURCE_INDEX" ("RESOURCE_ID");