remove unused broken tag_count column
This commit is contained in:
parent
addf4822e3
commit
d7622f0665
|
@ -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
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
class RemoveTagCountFromTagGroups < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :tag_groups, :tag_count
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue