diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-10-29 13:01:46 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-10-29 13:01:46 +0100 |
commit | b5fbd84e30ced200bd9c349d855d1a6183d09eed (patch) | |
tree | 180b01a26326dea2c219e5559ba729a01117e362 /server | |
parent | fcbc15aefa3ff4a291986c89c2ec7b10ce3c8290 (diff) | |
download | sonarqube-b5fbd84e30ced200bd9c349d855d1a6183d09eed.tar.gz sonarqube-b5fbd84e30ced200bd9c349d855d1a6183d09eed.zip |
SONAR-5753 Add index on projects.project_uuid
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/708_add_project_uuid_index.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/708_add_project_uuid_index.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/708_add_project_uuid_index.rb index 5d81bd096c6..d4ba5725fa2 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/708_add_project_uuid_index.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/708_add_project_uuid_index.rb @@ -25,6 +25,7 @@ class AddProjectUuidIndex < ActiveRecord::Migration def self.up add_index 'projects', 'uuid', :name => 'projects_uuid', :unique => true + add_index 'projects', 'project_uuid', :name => 'projects_project_uuid' end end |