diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-09 23:36:26 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-05-13 11:51:30 +0200 |
commit | ecd8c71b84b8691dd9c1d40f349f5b11a35c28cf (patch) | |
tree | 50ab4bf36e44b3f3d206460e06c7972799e919eb /server | |
parent | aac58f3d481f23639a900489cd52857c0f16b1b2 (diff) | |
download | sonarqube-ecd8c71b84b8691dd9c1d40f349f5b11a35c28cf.tar.gz sonarqube-ecd8c71b84b8691dd9c1d40f349f5b11a35c28cf.zip |
SONAR-7493 fix size of ISSUES.MESSAGE col on Orale
The length of this VARCHAR(4000) depends on runtime
(4000 bytes or 4000 chars) as unit is not enforced
during creation of column
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1151_fix_length_of_issues_message_on_oracle.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1151_fix_length_of_issues_message_on_oracle.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1151_fix_length_of_issues_message_on_oracle.rb new file mode 100644 index 00000000000..53ebecd68e5 --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1151_fix_length_of_issues_message_on_oracle.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.6 +# SONAR-7493 +# +class FixLengthOfIssuesMessageOnOracle < ActiveRecord::Migration + + def self.up + execute_java_migration('org.sonar.db.version.v56.FixLengthOfIssuesMessageOnOracle') + end + +end |