aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-09-08 20:29:03 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-09-08 20:29:03 +0000
commit0dd067a3efa7f4821fcc4643850b69ba8ac94137 (patch)
tree9aed96ae5de33d24c267739dfa3bb18b47ddb406 /sonar-server
parent39b5479f0e61ceb731990eefa8df81306eb6f571 (diff)
downloadsonarqube-0dd067a3efa7f4821fcc4643850b69ba8ac94137.tar.gz
sonarqube-0dd067a3efa7f4821fcc4643850b69ba8ac94137.zip
add CHARACTERISTICS.DESCRIPTION
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb
new file mode 100644
index 00000000000..88f1f5147af
--- /dev/null
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/138_add_characteristic_description.rb
@@ -0,0 +1,27 @@
+#
+# Sonar, entreprise quality control tool.
+# Copyright (C) 2009 SonarSource SA
+# mailto:contact AT sonarsource DOT com
+#
+# Sonar 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.
+#
+# Sonar 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 Sonar; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
+#
+class AddCharacteristicDescription < ActiveRecord::Migration
+
+ def self.up
+ add_column 'characteristics', 'description', :string, :null => true, :limit => 4000
+ Characteristic.reset_column_information
+ end
+
+end