summaryrefslogtreecommitdiff
path: root/db/migrate/20140228014045_create_games.rb
blob: 59d4ef0263ee87712c548dd52e47648a76455997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class CreateGames < ActiveRecord::Migration
  def change
    create_table :games do |t|
      t.text :name
      t.integer :players_per_team
      t.integer :teams_per_match
      t.integer :set_rounds
      t.integer :randomized_teams

      t.timestamps
    end
  end
end