1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added indexs for matches on weight_id and wrestlers on school_id

This commit is contained in:
2022-02-23 21:25:01 +00:00
parent cce2e5b5f8
commit a3391afe02
2 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
class IndexesMatchesWeightidWrestlersSchoolid < ActiveRecord::Migration[6.1]
def change
add_index :matches, :weight_id
add_index :wrestlers, :school_id
end
end