mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-24 21:45:06 +01:00
Fix ambiguous column names in tootctl search deploy
(#18993)
This commit is contained in:
parent
461239db5d
commit
656ac99ef0
@ -84,6 +84,6 @@ class Importer::StatusesIndexImporter < Importer::BaseImporter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def local_statuses_scope
|
def local_statuses_scope
|
||||||
Status.local.select('id, coalesce(reblog_of_id, id) as status_id')
|
Status.local.select('"statuses"."id", COALESCE("statuses"."reblog_of_id", "statuses"."id") AS status_id')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user