evazion
2022-06-26 16:01:01 -05:00
parent efe0e8a6bd
commit 6f24db92e5
3 changed files with 10 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ class Post < ApplicationRecord
has_many :disapprovals, :class_name => "PostDisapproval", :dependent => :destroy
has_many :favorites, dependent: :destroy
has_many :replacements, class_name: "PostReplacement", :dependent => :destroy
has_many :ai_tags, through: :media_asset
attr_accessor :old_tag_string, :old_parent_id, :old_source, :old_rating, :has_constraints, :disable_versioning, :post_edit
@@ -1639,7 +1640,7 @@ class Post < ApplicationRecord
%i[
uploader approver flags appeals parent children notes
comments approvals disapprovals replacements pixiv_ugoira_frame_data
artist_commentary
artist_commentary media_asset ai_tags
]
end
end