diff --git a/app/models/tag_group.rb b/app/models/tag_group.rb index cf83c9ff2da..c56392ab775 100644 --- a/app/models/tag_group.rb +++ b/app/models/tag_group.rb @@ -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