mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Remove matchups_array
This commit is contained in:
@@ -5,7 +5,6 @@ class Tournament < ActiveRecord::Base
|
||||
has_many :mats, dependent: :destroy
|
||||
has_many :wrestlers, through: :weights
|
||||
|
||||
serialize :matchups_array
|
||||
|
||||
def upcomingMatches
|
||||
if self.matches.nil?
|
||||
|
||||
5
db/migrate/20150426195714_drop_matchups_array.rb
Normal file
5
db/migrate/20150426195714_drop_matchups_array.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class DropMatchupsArray < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :tournaments, :matchups_array
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user