test(queryer): update SQL expectations with LIMIT 1 on cover_attachment

This commit is contained in:
2026-07-15 01:52:13 -04:00
parent 9ef59422b8
commit 1fedf5253c

View File

@ -2670,7 +2670,7 @@
" WHERE", " WHERE",
" NOT entity_3.archived", " NOT entity_3.archived",
" AND attachment_4.kind = 'cover'", " AND attachment_4.kind = 'cover'",
" AND attachment_4.attachable_id = entity_1.id", " AND attachment_4.attachable_id = entity_1.id LIMIT 1",
" ),", " ),",
" 'cover_attachments', (", " 'cover_attachments', (",
" SELECT COALESCE(jsonb_agg(jsonb_build_object(", " SELECT COALESCE(jsonb_agg(jsonb_build_object(",