aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-12-23 16:40:38 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-12-23 16:40:38 +0000
commitf04225c5e377a2d928099d0c43936d689a649318 (patch)
treea63b61dd7e819364e37c90e9dbda39445fee0f87 /sonar-server
parent3036e03d270ab85f197a930c851cd06f4a87ecaa (diff)
downloadsonarqube-f04225c5e377a2d928099d0c43936d689a649318.tar.gz
sonarqube-f04225c5e377a2d928099d0c43936d689a649318.zip
bug-fix : hotspot and drilldown pages fail if the server is not restarted after db upgrade
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/db/migrate/161_add_snapshots_period_columns.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/161_add_snapshots_period_columns.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/161_add_snapshots_period_columns.rb
index 34783863e6c..9b83bfaaf08 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/161_add_snapshots_period_columns.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/161_add_snapshots_period_columns.rb
@@ -45,6 +45,8 @@ class AddSnapshotsPeriodColumns < ActiveRecord::Migration
add_period_column('period5_mode', :string, :null => true, :limit => 100)
add_period_column('period5_param', :string, :null => true, :limit => 100)
add_period_column('period5_date', :datetime, :null => true)
+
+ Snapshot.reset_column_information()
end
private