From 5364c3eee9c2c360364b7ab0accc184d9e13ea8b Mon Sep 17 00:00:00 2001 From: jcwimer Date: Fri, 19 Jun 2015 13:42:51 +0000 Subject: [PATCH] Match index uniqueness not required as wrestlers may match up again --- db/migrate/20150523121319_introduce_indexes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20150523121319_introduce_indexes.rb b/db/migrate/20150523121319_introduce_indexes.rb index ff24411..f022d14 100644 --- a/db/migrate/20150523121319_introduce_indexes.rb +++ b/db/migrate/20150523121319_introduce_indexes.rb @@ -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