aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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