summaryrefslogtreecommitdiff
path: root/db/migrate/20140403155030_create_tournament_preferences.rb
blob: 991d6591b22fdc5b1951b85bf4875f7e20a0e71f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class CreateTournamentPreferences < ActiveRecord::Migration
  def change
    create_table :tournament_preferences do |t|
      t.references :tournament, index: true
      t.integer :vartype
      t.string :name
      t.text :value

      t.timestamps
    end
  end
end