Fix tootctl maintenance fix_remote_url (remove expires_at)
This commit is contained in:
parent
9a3e1a70e6
commit
e29bb75132
1 changed files with 0 additions and 1 deletions
|
@ -318,7 +318,6 @@ module Mastodon
|
||||||
media_attachments m
|
media_attachments m
|
||||||
INNER JOIN statuses s ON m.status_id = s.id
|
INNER JOIN statuses s ON m.status_id = s.id
|
||||||
AND s.deleted_at IS NULL
|
AND s.deleted_at IS NULL
|
||||||
AND s.expires_at >= CURRENT_TIMESTAMP
|
|
||||||
INNER JOIN accounts a ON s.account_id = a.id
|
INNER JOIN accounts a ON s.account_id = a.id
|
||||||
WHERE
|
WHERE
|
||||||
a.domain = $1
|
a.domain = $1
|
||||||
|
|
Loading…
Reference in a new issue