mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 09:20:38 -07:00
Add index to student_races table
This commit is contained in:
parent
3fcab58557
commit
ead59d0f48
2 changed files with 7 additions and 1 deletions
5
db/migrate/20220822214951_add_index_to_student_races.rb
Normal file
5
db/migrate/20220822214951_add_index_to_student_races.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddIndexToStudentRaces < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_index :student_races, %i[student_id race_id]
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue