fix: preserve legacy accounting migration data
This commit is contained in:
1 parent
3de1530074
commit
3cdca5c82c
10 files changed
+559
-177
No files matched your search
@@ -154,7 +154,7 @@ export function createUsageServiceRepository(
|
||||
.where(
|
||||
and(
|
||||
eq(albumGrants.editorialAccountId, input.editorialId),
|
||||
eq(albumGrants.immichAlbumId, input.albumId),
|
||||
sql`lower(${albumGrants.immichAlbumId}) = ${input.albumId}`,
|
||||
isNull(albumGrants.revokedAt),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user