space product service

This commit is contained in:
hannathkadher
2024-12-17 19:08:48 +04:00
parent b3e8af7540
commit d1050babd1
9 changed files with 212 additions and 22 deletions

View File

@ -24,7 +24,7 @@ export class SubspaceEntity extends AbstractEntity<SubspaceDto> {
nullable: false,
onDelete: 'CASCADE',
})
@JoinColumn({ name: 'space_id' })
@JoinColumn({ name: 'space_uuid' })
space: SpaceEntity;
@OneToMany(() => DeviceEntity, (device) => device.subspace, {