summaryrefslogtreecommitdiff
path: root/db/migrate/20140220221236_create_matches.rb
blob: 6c0c157576323049b55f615287cc710f7230ca8f (plain)
1
2
3
4
5
6
7
8
9
class CreateMatches < ActiveRecord::Migration
  def change
    create_table :matches do |t|
      t.references :tournament, index: true

      t.timestamps
    end
  end
end