fix(server): memory assets order (#16325)

This commit is contained in:
Alex 2025-02-25 19:10:52 -06:00 committed by GitHub
parent 8ecc67a364
commit 4ef7eb56a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -22,6 +22,8 @@ select
where
"memories_assets_assets"."memoriesId" = "memories"."id"
and "assets"."deletedAt" is null
order by
"assets"."fileCreatedAt" asc
) as agg
) as "assets"
from
@ -48,6 +50,8 @@ select
where
"memories_assets_assets"."memoriesId" = "memories"."id"
and "assets"."deletedAt" is null
order by
"assets"."fileCreatedAt" asc
) as agg
) as "assets"
from
@ -82,6 +86,8 @@ select
where
"memories_assets_assets"."memoriesId" = "memories"."id"
and "assets"."deletedAt" is null
order by
"assets"."fileCreatedAt" asc
) as agg
) as "assets"
from
@ -112,6 +118,8 @@ select
where
"memories_assets_assets"."memoriesId" = "memories"."id"
and "assets"."deletedAt" is null
order by
"assets"."fileCreatedAt" asc
) as agg
) as "assets"
from