optimizing space call

This commit is contained in:
hannathkadher
2025-02-03 00:13:34 +04:00
parent 87c2722313
commit 7f69867e8a
3 changed files with 51 additions and 12 deletions

View File

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