diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-10 21:26:06 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-10 21:26:06 +0000 |
commit | dad95d1c68b191e04783306943c548e0908658e2 (patch) | |
tree | 83890eefcb5299717b727c59e0ae55ac319bd7bd | |
parent | d4faa4b6767b2b23652cf479307124010545a8d9 (diff) | |
download | sonarqube-dad95d1c68b191e04783306943c548e0908658e2.tar.gz sonarqube-dad95d1c68b191e04783306943c548e0908658e2.zip |
fix db script to avoid restarting sonar
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/db/migrate/168_add_variations_to_filters.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/168_add_variations_to_filters.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/168_add_variations_to_filters.rb index f55f55cc1f7..905407fad79 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/168_add_variations_to_filters.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/168_add_variations_to_filters.rb @@ -25,8 +25,13 @@ class AddVariationsToFilters < ActiveRecord::Migration def self.up add_column :filters, :variation_index, :integer, :null => true + Filter.reset_column_information + add_column :filter_columns, :variation, :boolean, :null => true + FilterColumn.reset_column_information + add_column :criteria, :variation, :boolean, :null => true + Criterion.reset_column_information end end |