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

Remove matchups_array

This commit is contained in:
2015-04-26 15:58:15 -04:00
parent dd44efa869
commit 6d39bcb868
2 changed files with 5 additions and 1 deletions

View File

@@ -5,7 +5,6 @@ class Tournament < ActiveRecord::Base
has_many :mats, dependent: :destroy has_many :mats, dependent: :destroy
has_many :wrestlers, through: :weights has_many :wrestlers, through: :weights
serialize :matchups_array
def upcomingMatches def upcomingMatches
if self.matches.nil? if self.matches.nil?

View File

@@ -0,0 +1,5 @@
class DropMatchupsArray < ActiveRecord::Migration
def change
remove_column :tournaments, :matchups_array
end
end