Skip to content

Commit

Permalink
update sql
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Mar 31, 2024
1 parent cf0b00e commit 171bf29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/src/queries/asset.repository.sql
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ LIMIT
WITH
paths AS (
SELECT
unnest($2::text []) AS path
unnest($2::text[]) AS path
)
SELECT
path
Expand Down Expand Up @@ -630,8 +630,8 @@ LIMIT
SELECT
asset.*,
e.*,
COALESCE("si"."tags", array[]::text []) AS "tags",
COALESCE("si"."objects", array[]::text []) AS "objects"
COALESCE("si"."tags", array[]::text[]) AS "tags",
COALESCE("si"."objects", array[]::text[]) AS "objects"
FROM
"assets" "asset"
INNER JOIN "exif" "e" ON asset."id" = e."assetId"
Expand Down

0 comments on commit 171bf29

Please sign in to comment.