mirror of
https://github.com/immich-app/immich.git
synced 2025-12-25 09:14:58 +03:00
@@ -78,6 +78,17 @@ where
|
||||
"user"."isAdmin" = $1
|
||||
and "user"."deletedAt" is null
|
||||
|
||||
-- UserRepository.getFileSamples
|
||||
select
|
||||
"id",
|
||||
"profileImagePath"
|
||||
from
|
||||
"user"
|
||||
where
|
||||
"profileImagePath" != ''
|
||||
limit
|
||||
3
|
||||
|
||||
-- UserRepository.hasAdmin
|
||||
select
|
||||
"user"."id"
|
||||
|
||||
Reference in New Issue
Block a user