diff options
author | Jenkins CI <ci@sonarsource.com> | 2016-01-07 12:07:42 +0100 |
---|---|---|
committer | Jenkins CI <ci@sonarsource.com> | 2016-01-07 12:07:42 +0100 |
commit | 550f2520347d3a366195c69b84ce3427a31ea8b1 (patch) | |
tree | 1ed43ef563577791b39b94df0798b011bb7a7ced /server | |
parent | 7810d09da1bf3908ca190d5d1811fd8b58cc549b (diff) | |
parent | 93598d6f84ba12c14150f160604605c68b568272 (diff) | |
download | sonarqube-550f2520347d3a366195c69b84ce3427a31ea8b1.tar.gz sonarqube-550f2520347d3a366195c69b84ce3427a31ea8b1.zip |
Automatic merge from branch-5.3
* origin/branch-5.3:
SONAR-7176 Add index on CE_QUEUE.COMPONENT_UUID
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1007_add_index_on_ce_queue_component_uuid.rb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1007_add_index_on_ce_queue_component_uuid.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1007_add_index_on_ce_queue_component_uuid.rb new file mode 100644 index 00000000000..77646e25d8b --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1007_add_index_on_ce_queue_component_uuid.rb @@ -0,0 +1,33 @@ +# +# SonarQube, open source software quality management tool. +# Copyright (C) 2008-2014 SonarSource +# mailto:contact AT sonarsource DOT com +# +# SonarQube is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 3 of the License, or (at your option) any later version. +# +# SonarQube is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# + +# +# SonarQube 5.3 +# SONAR-7176 +# +class AddIndexOnCeQueueComponentUuid < ActiveRecord::Migration + + def self.up + add_index :ce_queue, :component_uuid, :name => 'ce_queue_component_uuid' + end + +end + + |