You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class ResetAllSurveyItemCacheCounters < ActiveRecord::Migration[7.0]
|
|
def up
|
|
SurveyItem.all.each do |survey_item|
|
|
SurveyItem.reset_counters(survey_item.id, :survey_item_responses)
|
|
end
|
|
end
|
|
|
|
def down; end
|
|
end
|