mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 14:37:54 +00:00
fixed entity relation, removed circular dependency
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Column, Entity, ManyToOne, OneToMany, Unique } from 'typeorm';
|
||||
import { AbstractEntity } from '../../abstract/entities/abstract.entity';
|
||||
import { CommunityDto } from '../dtos';
|
||||
import { SpaceEntity } from '../../space/entities';
|
||||
import { ProjectEntity } from '../../project/entities';
|
||||
import { SpaceEntity } from '../../space/entities/space.entity';
|
||||
|
||||
@Entity({ name: 'community' })
|
||||
@Unique(['name'])
|
||||
|
||||
Reference in New Issue
Block a user