makew project-community relation not nullable

This commit is contained in:
hannathkadher
2024-12-20 10:43:20 +04:00
parent 84ed3b03c1
commit 786c56524c

View File

@ -34,7 +34,7 @@ export class CommunityEntity extends AbstractEntity<CommunityDto> {
externalId: string;
@ManyToOne(() => ProjectEntity, (project) => project.communities, {
nullable: true,
nullable: false,
})
project: ProjectEntity;
}