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

      t.timestamps
    end
  end
end