Fix tootctl maintenance fix_remote_url (remove expires_at)

This commit is contained in:
noellabo 2021-12-15 11:42:05 +09:00
parent 9a3e1a70e6
commit e29bb75132

View file

@ -318,7 +318,6 @@ module Mastodon
media_attachments m
INNER JOIN statuses s ON m.status_id = s.id
AND s.deleted_at IS NULL
AND s.expires_at >= CURRENT_TIMESTAMP
INNER JOIN accounts a ON s.account_id = a.id
WHERE
a.domain = $1