0
0
Fork 0

Use touch_all for time column updates (#33295)

This commit is contained in:
Matt Jankowski 2024-12-13 03:41:42 -05:00 committed by GitHub
parent 234af14966
commit 3c71ee9b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ RSpec.describe ReblogService do
Status
.where(id: reblog_of_id)
.where(text: 'discard-status-text')
.update_all(deleted_at: Time.now.utc)
.touch_all(:deleted_at)
end
end
end