summaryrefslogtreecommitdiff
path: root/db/migrate/20140304043639_create_user_team_pairs.rb
blob: 2c492ac73672558f017c2498e02cb01d0e04265a (plain)
1
2
3
4
5
6
7
8
9
10
class CreateUserTeamPairs < ActiveRecord::Migration
  def change
    create_table :user_team_pairs do |t|
      t.references :user, index: true
      t.references :team, index: true

      t.timestamps
    end
  end
end