Fix ambiguous column names in `tootctl search deploy` (#18993)

main
Mashiro 2 years ago committed by GitHub
parent 461239db5d
commit 656ac99ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,6 +84,6 @@ class Importer::StatusesIndexImporter < Importer::BaseImporter
end
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

Loading…
Cancel
Save