refactor: selected columns in queries (#17589)

This commit is contained in:
Daniel Dietzler 2025-04-14 20:34:06 +02:00 committed by GitHub
parent 5a51ad3622
commit 0b69d1c147
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 50 additions and 144 deletions

View file

@ -110,7 +110,12 @@ select
from
(
select
"tags".*
"tags"."id",
"tags"."value",
"tags"."createdAt",
"tags"."updatedAt",
"tags"."color",
"tags"."parentId"
from
"tags"
inner join "tag_asset" on "tags"."id" = "tag_asset"."tagsId"
@ -194,7 +199,9 @@ select
from
(
select
"asset_files".*
"asset_files"."id",
"asset_files"."path",
"asset_files"."type"
from
"asset_files"
where