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/20220822214951_add_index_to...

6 lines
136 B

class AddIndexToStudentRaces < ActiveRecord::Migration[7.0]
def change
add_index :student_races, %i[student_id race_id]
end
end