summaryrefslogtreecommitdiff
path: root/db/migrate/20140304020412_create_team_match_pairs.rb
blob: 8fac07e25939f33d8561871322732b12d50efb1e (plain)
1
2
3
4
5
6
7
8
9
10
class CreateTeamMatchPairs < ActiveRecord::Migration
  def change
    create_table :team_match_pairs do |t|
      t.references :team, index: true
      t.references :match, index: true

      t.timestamps
    end
  end
end