summaryrefslogtreecommitdiff
path: root/db/migrate/20140403151743_create_teams.rb
blob: fdf9a680a86c4941a918def676050dc4e60531a4 (plain)
1
2
3
4
5
6
7
8
9
class CreateTeams < ActiveRecord::Migration
  def change
    create_table :teams do |t|
      t.references :match, index: true

      t.timestamps
    end
  end
end