sqm-dashboards/db/migrate/20211217164449_remove_benchmarks_from_measures.rb
Nelson Jovel ad03606d66 Add benchmarks to survey and admin data items. Remove them from measures. Modify seeder
Calculate benchmarks for measures based on a weighted average of survey
and admin data items

Added architectural records
2021-12-28 14:10:34 +01:00

8 lines
325 B
Ruby

class RemoveBenchmarksFromMeasures < ActiveRecord::Migration[6.1]
def change
remove_column :measures, :watch_low_benchmark, :float
remove_column :measures, :growth_low_benchmark, :float
remove_column :measures, :approval_low_benchmark, :float
remove_column :measures, :ideal_low_benchmark, :float
end
end