mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-02 04:35:26 +00:00
12 lines
308 B
Ruby
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
|