Merge pull request #180 from SyncrowIOT/bugfix/make-community-project-not-nullable

make project-community relation not nullable
This commit is contained in:
hannathkadher
2024-12-23 10:03:38 +04:00
committed by GitHub
@@ -34,7 +34,7 @@ export class CommunityEntity extends AbstractEntity<CommunityDto> {
externalId: string;
@ManyToOne(() => ProjectEntity, (project) => project.communities, {
nullable: true,
nullable: false,
})
project: ProjectEntity;
}