From c0ef1546ab39d038ea7a8c00658f41103162ef5b Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Tue, 10 Dec 2024 09:49:58 +0400 Subject: [PATCH] make it nullable for now --- libs/common/src/modules/community/entities/community.entity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/modules/community/entities/community.entity.ts b/libs/common/src/modules/community/entities/community.entity.ts index a94e586..8809f94 100644 --- a/libs/common/src/modules/community/entities/community.entity.ts +++ b/libs/common/src/modules/community/entities/community.entity.ts @@ -34,7 +34,7 @@ export class CommunityEntity extends AbstractEntity { externalId: string; @ManyToOne(() => ProjectEntity, (project) => project.communities, { - nullable: false, + nullable: true, }) project: ProjectEntity; }