mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
create orphan community and space for project
This commit is contained in:
4
libs/common/src/constants/orphan-constant.ts
Normal file
4
libs/common/src/constants/orphan-constant.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export const ORPHAN_COMMUNITY_NAME = 'orphan-community';
|
||||
export const ORPHAN_COMMUNITY_DESCRIPTION =
|
||||
'Default community for orphan spaces';
|
||||
export const ORPHAN_SPACE_NAME = 'orphan-space';
|
@ -117,7 +117,7 @@ export class UserEntity extends AbstractEntity<UserDto> {
|
||||
public visitorPasswords: VisitorPasswordEntity[];
|
||||
|
||||
@ManyToOne(() => RoleTypeEntity, (roleType) => roleType.users, {
|
||||
nullable: false,
|
||||
nullable: true,
|
||||
})
|
||||
public roleType: RoleTypeEntity;
|
||||
@OneToOne(() => InviteUserEntity, (inviteUser) => inviteUser.user, {
|
||||
|
Reference in New Issue
Block a user