mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
optimizing space call
This commit is contained in:
@ -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>) {
|
||||
|
Reference in New Issue
Block a user