test(queryer): update SQL expectations with LIMIT 1 on cover_attachment
This commit is contained in:
@ -2670,7 +2670,7 @@
|
||||
" WHERE",
|
||||
" NOT entity_3.archived",
|
||||
" 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', (",
|
||||
" SELECT COALESCE(jsonb_agg(jsonb_build_object(",
|
||||
|
||||
Reference in New Issue
Block a user