diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2014-10-17 18:01:28 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2014-10-21 15:26:22 +0200 |
commit | 07e7caec293ab173dd7659289b60fee216eae941 (patch) | |
tree | 13a3372151815c8b9c4699405d0b8423e77a0498 /server/sonar-web | |
parent | 3e0fcb4f76bc349293a8c6128dd1b2b77bfc1beb (diff) | |
download | sonarqube-07e7caec293ab173dd7659289b60fee216eae941.tar.gz sonarqube-07e7caec293ab173dd7659289b60fee216eae941.zip |
SONAR-5696: Snapshot switch moved from batch to server side
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/706_add_snapshot_id_to_analysis_reports.rb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/706_add_snapshot_id_to_analysis_reports.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/706_add_snapshot_id_to_analysis_reports.rb new file mode 100644 index 00000000000..4b571f83112 --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/706_add_snapshot_id_to_analysis_reports.rb @@ -0,0 +1,30 @@ +# +# 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.0 +# SONAR-5696 +# +class AddSnapshotIdToAnalysisReports < ActiveRecord::Migration + def self.up + add_column 'analysis_reports', :snapshot_id, :integer, :null => false + end +end + |