FIX: Ensure category_required_tag_groups are destroyed with tag_groups (#16433)
This commit is contained in:
parent
09c4a16b46
commit
7b1686ad7d
|
@ -6,6 +6,7 @@ class TagGroup < ActiveRecord::Base
|
|||
has_many :tag_group_memberships, dependent: :destroy
|
||||
has_many :tags, through: :tag_group_memberships
|
||||
has_many :category_tag_groups, dependent: :destroy
|
||||
has_many :category_required_tag_groups, dependent: :destroy
|
||||
has_many :categories, through: :category_tag_groups
|
||||
has_many :tag_group_permissions, dependent: :destroy
|
||||
|
||||
|
|
Loading…
Reference in New Issue