base migration and schema optimization
This commit is contained in:
parent
0d8499b828
commit
d156cc6ad6
16 changed files with 426 additions and 22 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue