mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 01:11:32 +03:00
feat(server): read-write external assets (#9235)
* refactor: remove isReadOnly and isExternal usages * chore: open api * fix: linting * remove mobile isReadOnly dependency --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
@@ -151,6 +151,14 @@ GROUP BY
|
||||
ORDER BY
|
||||
"users"."createdAt" ASC
|
||||
|
||||
-- UserRepository.updateUsage
|
||||
UPDATE "users"
|
||||
SET
|
||||
"quotaUsageInBytes" = "quotaUsageInBytes" + 50,
|
||||
"updatedAt" = CURRENT_TIMESTAMP
|
||||
WHERE
|
||||
"id" = $1
|
||||
|
||||
-- UserRepository.syncUsage
|
||||
UPDATE "users"
|
||||
SET
|
||||
|
||||
Reference in New Issue
Block a user