remove unused broken tag_count column

This commit is contained in:
Neil Lalonde 2016-06-09 16:50:09 -04:00
parent addf4822e3
commit d7622f0665
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
class TagGroupMembership < ActiveRecord::Base
belongs_to :tag
belongs_to :tag_group, counter_cache: "tag_count" # TODO: remove counter cache
belongs_to :tag_group
end

View File

@ -0,0 +1,5 @@
class RemoveTagCountFromTagGroups < ActiveRecord::Migration
def change
remove_column :tag_groups, :tag_count
end
end