base migration and schema optimization

This commit is contained in:
Julian Krauser 2025-05-26 14:53:25 +02:00
parent 0d8499b828
commit d156cc6ad6
16 changed files with 426 additions and 22 deletions

View file

@ -27,9 +27,15 @@ export class inspectionPoint {
})
type: InspectionPointEnum;
@Column({ type: "int", default: 0 })
@Column({ type: "int", nullable: true, default: null })
min: number;
@Column({ type: "int", nullable: true, default: null })
max: number;
@Column()
versionedPlanId: string;
@ManyToOne(() => inspectionVersionedPlan, {
nullable: false,
onDelete: "CASCADE",