Add index to student_races table

This commit is contained in:
rebuilt 2022-08-22 15:23:49 -07:00
parent 3fcab58557
commit ead59d0f48
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddIndexToStudentRaces < ActiveRecord::Migration[7.0]
def change
add_index :student_races, %i[student_id race_id]
end
end