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.
sqm-dashboards/db/migrate/20210923113050_add_indexes_...

9 lines
302 B

class AddIndexesToSurveyItemResponses < ActiveRecord::Migration[5.0]
def change
add_index :survey_item_responses, :school_id
add_index :survey_item_responses, :survey_item_id
add_index :survey_item_responses, :response_id
add_index :survey_item_responses, :academic_year_id
end
end