removed unique subspace name

This commit is contained in:
hannathkadher
2025-01-22 12:45:10 +04:00
parent 7e15cc65a4
commit 6978ee84fa
2 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,6 @@ import { SubspaceEntity } from '@app/common/modules/space/entities';
import { TagModel } from '../tag-model.entity';
@Entity({ name: 'subspace-model' })
@Unique(['subspaceName', 'spaceModel'])
export class SubspaceModelEntity extends AbstractEntity<SubSpaceModelDto> {
@Column({
type: 'uuid',

View File

@ -310,6 +310,7 @@ export class SubSpaceModelService {
spaceModel: {
uuid: spaceModelUuid,
},
disabled: false,
...(excludeUuid && { uuid: Not(excludeUuid) }),
},
});