summaryrefslogtreecommitdiff
path: root/db/migrate/20140424202634_create_tournament_settings.rb
blob: e56697f7e6bbfb89cddb5c3013d9aba4502f3fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateTournamentSettings < ActiveRecord::Migration
  def change
    create_table :tournament_settings do |t|
      t.references :tournament, index: true
      t.string :name
      t.integer :vartype
      t.text :type_opt
      t.text :description
      t.integer :display_order
      t.text :value

      t.timestamps
    end
  end
end