mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 18:56:22 +00:00
make it nullable for now
This commit is contained in:
@ -34,7 +34,7 @@ export class CommunityEntity extends AbstractEntity<CommunityDto> {
|
|||||||
externalId: string;
|
externalId: string;
|
||||||
|
|
||||||
@ManyToOne(() => ProjectEntity, (project) => project.communities, {
|
@ManyToOne(() => ProjectEntity, (project) => project.communities, {
|
||||||
nullable: false,
|
nullable: true,
|
||||||
})
|
})
|
||||||
project: ProjectEntity;
|
project: ProjectEntity;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user