Add index to survey item responses on school and academic year.

This commit is contained in:
rebuilt 2022-06-14 15:28:38 -07:00
parent 61aad20cb2
commit dfc5202b88

View file

@ -0,0 +1,5 @@
class AddSchoolAndYearIndexToSurveyItemResponses < ActiveRecord::Migration[7.0]
def change
add_index :survey_item_responses, %i[school_id academic_year_id]
end
end