1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-02 13:15:27 +00:00
Files
wrestlingdev.com/db/migrate/20150425173224_matchup_to_match.rb

12 lines
308 B
Ruby

class MatchupToMatch < ActiveRecord::Migration
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