added disabled to all space entities

This commit is contained in:
hannathkadher
2024-12-19 10:25:25 +04:00
parent 9063c65e68
commit 23be781d2e
10 changed files with 61 additions and 5 deletions

View File

@ -28,6 +28,12 @@ export class SpaceModelEntity extends AbstractEntity<SpaceModelDto> {
})
public modelName: string;
@Column({
nullable: false,
default: false,
})
public disabled: boolean;
@ManyToOne(() => ProjectEntity, (project) => project.spaceModels, {
nullable: false,
onDelete: 'CASCADE',