mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-03 21:33:48 +00:00
Revert "Revert "Moving away from matchups_array and saving matches individually""
This reverts commit 7b3fe2aaad.
This commit is contained in:
11
db/migrate/20150425173224_matchup_to_match.rb
Normal file
11
db/migrate/20150425173224_matchup_to_match.rb
Normal 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
|
||||
Reference in New Issue
Block a user