summaryrefslogtreecommitdiff
path: root/db/migrate/20140307023509_create_tournament_options.rb
blob: 53b601c39327029a386b2ce40edf75a3ef59e5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class CreateTournamentOptions < ActiveRecord::Migration
  def change
    create_table :tournament_options do |t|
      t.references :tournament, index: true
      t.integer :vartype
      t.string :name
      t.text :value

      t.timestamps
    end
  end
end