summaryrefslogtreecommitdiff
path: root/db/migrate/20140306222417_create_tournament_user_pairs.rb
blob: ab72aad56309ff8a17ff1b2238f70b734c4e5692 (plain)
1
2
3
4
5
6
7
8
9
10
class CreateTournamentUserPairs < ActiveRecord::Migration
  def change
    create_table :tournament_user_pairs do |t|
      t.references :tournament, index: true
      t.references :user, index: true

      t.timestamps
    end
  end
end