mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Match index uniqueness not required as wrestlers may match up again
This commit is contained in:
@@ -4,7 +4,7 @@ class IntroduceIndexes < ActiveRecord::Migration
|
||||
add_index :schools, :tournament_id
|
||||
add_index :mats, :tournament_id
|
||||
add_index :matches, :tournament_id
|
||||
add_index :matches, [:w1, :w2], :unique => true
|
||||
add_index :matches, [:w1, :w2]
|
||||
add_index :wrestlers, :weight_id
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user