diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-12-03 15:25:09 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2015-12-04 11:03:30 +0100 |
commit | 9a86ee019c97e81e698e8387d7bc4ff106b8f05b (patch) | |
tree | 7cdd0ec47a7c68303bd5f7664ac44efc4c58a6bb /server/sonar-web/src/main/webapp | |
parent | 41959b471deb06e239e11f9fd5774db913182216 (diff) | |
download | sonarqube-9a86ee019c97e81e698e8387d7bc4ff106b8f05b.tar.gz sonarqube-9a86ee019c97e81e698e8387d7bc4ff106b8f05b.zip |
SONAR-6925 add missing index on ce_activity.is_last_key
Diffstat (limited to 'server/sonar-web/src/main/webapp')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1003_add_index_on_ce_activity_is_last_key.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1003_add_index_on_ce_activity_is_last_key.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1003_add_index_on_ce_activity_is_last_key.rb new file mode 100644 index 00000000000..74703118717 --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1003_add_index_on_ce_activity_is_last_key.rb @@ -0,0 +1,32 @@ +# +# 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 +# +class AddIndexOnCeActivityIsLastKey < ActiveRecord::Migration + + def self.up + add_index :ce_activity, :is_last_key, :name => 'ce_activity_islastkey' + end + +end + + |