feat: track when assets are added to an album (#13725)

This commit is contained in:
Jason Rasmussen 2024-10-24 16:45:00 -04:00 committed by GitHub
parent 5d9b4b4532
commit bc06863d28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 1 deletions

View file

@ -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)