Fix test
This commit is contained in:
parent
a6b57e3890
commit
dbbd12efe4
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue