1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/db/migrate/20150425173224_matchup_to_match.rb

12 lines
313 B
Ruby

class MatchupToMatch < ActiveRecord::Migration[4.2]
def change
add_column :matches, :weight_id, :integer
add_column :matches, :bracket_position, :string
add_column :matches, :bracket_position_number, :integer
rename_column :matches, :r_id, :w1
rename_column :matches, :g_id, :w2
end
end