chore: asset sync FKs (#19927)

This commit is contained in:
Jason Rasmussen 2025-07-14 11:57:25 -04:00 committed by GitHub
parent a97ba4862f
commit 805ec3e351
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 59 additions and 1 deletions

View file

@ -349,6 +349,8 @@ export const columns = {
'asset.isFavorite',
'asset.visibility',
'asset.duration',
'asset.livePhotoVideoId',
'asset.stackId',
],
syncAlbumUser: ['album_user.albumsId as albumId', 'album_user.usersId as userId', 'album_user.role'],
syncStack: ['stack.id', 'stack.createdAt', 'stack.updatedAt', 'stack.primaryAssetId', 'stack.ownerId'],