Merge branch 'bufix/move-tags-between' into dev

This commit is contained in:
hannathkadher
2025-01-29 14:55:26 +04:00
6 changed files with 275 additions and 38 deletions

View File

@ -78,6 +78,7 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
@OneToOne(() => TagEntity, (tag) => tag.device, {
nullable: true,
})
@JoinColumn({ name: 'tag_id' })
tag: TagEntity;
constructor(partial: Partial<DeviceEntity>) {