1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Moving away from matchups_array and saving matches individually

This commit is contained in:
2015-04-25 13:51:16 -04:00
parent 5ecd2620e1
commit 650a9ed7d6
6 changed files with 67 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
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