1 2 3 4 5 6 7 8 9 10 11 12
class CreateTournamentStages < ActiveRecord::Migration def change create_table :tournament_stages do |t| t.references :tournament, index: true t.text :structure t.string :scheduling_method t.string :seeding_method t.timestamps end end end