summaryrefslogtreecommitdiff
path: root/db/migrate/20140307022754_create_user_team_join_table.rb
blob: 7b4d17fe3a659f540a1be50c29369dab6acd6075 (plain)
1
2
3
4
5
6
7
8
class CreateUserTeamJoinTable < ActiveRecord::Migration
  def change
    create_join_table :users, :matches do |t|
      # t.index [:user_id, :match_id]
      # t.index [:match_id, :user_id]
    end
  end
end