diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-06-02 18:13:20 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-06-02 18:19:33 +0200 |
commit | 5381835db07e40e02cd4e9d214988ab6418dffd6 (patch) | |
tree | c40c87a9c02cd1202bac2109657da9e4aaba674c /server/sonar-web/src | |
parent | 0c318501905650d920a44a429edaa43f29f7cf5b (diff) | |
download | sonarqube-5381835db07e40e02cd4e9d214988ab6418dffd6.tar.gz sonarqube-5381835db07e40e02cd4e9d214988ab6418dffd6.zip |
SONAR-6571 fix use of Boolean for boolean db column in Metrics table
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/db/migrate/916_feed_metrics_booleans.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/916_feed_metrics_booleans.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/916_feed_metrics_booleans.rb new file mode 100644 index 00000000000..347164f04ef --- /dev/null +++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/916_feed_metrics_booleans.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.2 +# SONAR-6571 +# +class FeedMetricsBooleans < ActiveRecord::Migration + + def self.up + execute_java_migration('org.sonar.server.db.migrations.v52.FeedMetricsBooleans') + end + +end |