mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 23:14:54 +00:00
makew project-community relation not nullable
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: true,
|
nullable: false,
|
||||||
})
|
})
|
||||||
project: ProjectEntity;
|
project: ProjectEntity;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user