mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
feat: track when assets are added to an album (#13725)
This commit is contained in:
parent
5d9b4b4532
commit
bc06863d28
2 changed files with 14 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ export class AlbumEntity {
|
|||
albumUsers!: AlbumUserEntity[];
|
||||
|
||||
@ManyToMany(() => AssetEntity, (asset) => asset.albums)
|
||||
@JoinTable()
|
||||
@JoinTable({ synchronize: false })
|
||||
assets!: AssetEntity[];
|
||||
|
||||
@OneToMany(() => SharedLinkEntity, (link) => link.album)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue