added limit 1 to arrays treated as a single value in schemas
This commit is contained in:
@ -2670,7 +2670,8 @@
|
||||
" WHERE",
|
||||
" NOT entity_3.archived",
|
||||
" AND attachment_4.kind = 'cover'",
|
||||
" AND attachment_4.attachable_id = entity_1.id LIMIT 1",
|
||||
" 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