mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
Merge branch 'bufix/move-tags-between' into dev
This commit is contained in:
@ -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>) {
|
||||
|
Reference in New Issue
Block a user