aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-12-01 16:12:23 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-12-08 00:26:54 +0100
commit3197dc1e41dfb2d0072d1fbcd9697eb125984434 (patch)
treeac31d017db245137da46d6158dcabd2ec21e7e3d /server/sonar-web/src/main
parenteee89a07d6a0bfeae589a88983df44dc2cc167b6 (diff)
downloadsonarqube-3197dc1e41dfb2d0072d1fbcd9697eb125984434.tar.gz
sonarqube-3197dc1e41dfb2d0072d1fbcd9697eb125984434.zip
SONAR-6900 add snapshot_id column in ce_activity db table
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1004_add_ce_activity_snapshot_id.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1004_add_ce_activity_snapshot_id.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1004_add_ce_activity_snapshot_id.rb
new file mode 100644
index 00000000000..b2e67caa934
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1004_add_ce_activity_snapshot_id.rb
@@ -0,0 +1,31 @@
+#
+# 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-6900
+#
+class AddCeActivitySnapshotId < ActiveRecord::Migration
+
+ def self.up
+ add_column 'ce_activity', :snapshot_id, :integer, :null => true
+ end
+
+end