summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-04-29 13:03:05 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-04-29 13:04:16 +0200
commit5b1b10e44eb2948eeac7ac9eb2a290d271dbac44 (patch)
tree7d4cd8bf86141b7e9630fed9935b6a7bda376275 /sonar-server/src/main
parentbaa107dc6d0b0e2a1359b607ac659b68741c45a0 (diff)
downloadsonarqube-5b1b10e44eb2948eeac7ac9eb2a290d271dbac44.tar.gz
sonarqube-5b1b10e44eb2948eeac7ac9eb2a290d271dbac44.zip
SONAR-5249 Fix migration script
Diffstat (limited to 'sonar-server/src/main')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/530_merge_measure_data_into_project_measures.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/530_merge_measure_data_into_project_measures.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/530_merge_measure_data_into_project_measures.rb
index 57354af6198..75c0a806354 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/530_merge_measure_data_into_project_measures.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/530_merge_measure_data_into_project_measures.rb
@@ -28,7 +28,7 @@ class MergeMeasureDataIntoProjectMeasures < ActiveRecord::Migration
end
def self.up
- unless ProjectMeasure.column_names.include?('data')
+ unless ProjectMeasure.column_names.include?('measure_data')
add_column :project_measures, 'measure_data', :binary, :null => true
end
ProjectMeasure.reset_column_information