This commit is contained in:
KMY 2023-12-21 10:04:27 +09:00
parent a6b57e3890
commit dbbd12efe4
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ class RemoveRemoteUriFromLocalCustomEmojis < ActiveRecord::Migration[7.0]
def up
safety_assured do
CustomEmoji.transaction do
CustomEmoji.where(domain: nil).update_all(image_remote_url: nil, uri: nil) # rubocop:disable Rails/SkipsModelValidations
CustomEmoji.where(domain: nil).update_all(image_remote_url: nil, uri: nil)
end
end
end