proflores-db-model 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,32 +43,32 @@ __decorate([
|
|
|
43
43
|
__metadata("design:type", String)
|
|
44
44
|
], PlantTechnicalSheet.prototype, "origin", void 0);
|
|
45
45
|
__decorate([
|
|
46
|
-
(0, typeorm_1.OneToOne)(() => PlantGrowthType_1.PlantGrowthType, { onDelete: "CASCADE" }),
|
|
46
|
+
(0, typeorm_1.OneToOne)(() => PlantGrowthType_1.PlantGrowthType, { onDelete: "CASCADE", cascade: true }),
|
|
47
47
|
(0, typeorm_1.JoinColumn)({ name: "plantGrowthTypeId" }),
|
|
48
48
|
__metadata("design:type", PlantGrowthType_1.PlantGrowthType)
|
|
49
49
|
], PlantTechnicalSheet.prototype, "plantType", void 0);
|
|
50
50
|
__decorate([
|
|
51
|
-
(0, typeorm_1.OneToOne)(() => LightInfo_1.LightInfo, { onDelete: "CASCADE" }),
|
|
51
|
+
(0, typeorm_1.OneToOne)(() => LightInfo_1.LightInfo, { onDelete: "CASCADE", cascade: true }),
|
|
52
52
|
(0, typeorm_1.JoinColumn)({ name: "lightInfoId" }),
|
|
53
53
|
__metadata("design:type", LightInfo_1.LightInfo)
|
|
54
54
|
], PlantTechnicalSheet.prototype, "light", void 0);
|
|
55
55
|
__decorate([
|
|
56
|
-
(0, typeorm_1.OneToOne)(() => HumidityInfo_1.HumidityInfo, { onDelete: "CASCADE" }),
|
|
56
|
+
(0, typeorm_1.OneToOne)(() => HumidityInfo_1.HumidityInfo, { onDelete: "CASCADE", cascade: true }),
|
|
57
57
|
(0, typeorm_1.JoinColumn)({ name: "humidityInfoId" }),
|
|
58
58
|
__metadata("design:type", HumidityInfo_1.HumidityInfo)
|
|
59
59
|
], PlantTechnicalSheet.prototype, "humidity", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
(0, typeorm_1.OneToOne)(() => ClimateIdeal_1.ClimateIdeal, { onDelete: "CASCADE" }),
|
|
61
|
+
(0, typeorm_1.OneToOne)(() => ClimateIdeal_1.ClimateIdeal, { onDelete: "CASCADE", cascade: true }),
|
|
62
62
|
(0, typeorm_1.JoinColumn)({ name: "climateIdealId" }),
|
|
63
63
|
__metadata("design:type", ClimateIdeal_1.ClimateIdeal)
|
|
64
64
|
], PlantTechnicalSheet.prototype, "climate", void 0);
|
|
65
65
|
__decorate([
|
|
66
|
-
(0, typeorm_1.OneToOne)(() => SubstrateInfo_1.SubstrateInfo, { onDelete: "CASCADE" }),
|
|
66
|
+
(0, typeorm_1.OneToOne)(() => SubstrateInfo_1.SubstrateInfo, { onDelete: "CASCADE", cascade: true }),
|
|
67
67
|
(0, typeorm_1.JoinColumn)({ name: "substrateInfoId" }),
|
|
68
68
|
__metadata("design:type", SubstrateInfo_1.SubstrateInfo)
|
|
69
69
|
], PlantTechnicalSheet.prototype, "substrate", void 0);
|
|
70
70
|
__decorate([
|
|
71
|
-
(0, typeorm_1.OneToOne)(() => FertilizationInfo_1.FertilizationInfo, { onDelete: "CASCADE" }),
|
|
71
|
+
(0, typeorm_1.OneToOne)(() => FertilizationInfo_1.FertilizationInfo, { onDelete: "CASCADE", cascade: true }),
|
|
72
72
|
(0, typeorm_1.JoinColumn)({ name: "fertilizationInfoId" }),
|
|
73
73
|
__metadata("design:type", FertilizationInfo_1.FertilizationInfo)
|
|
74
74
|
], PlantTechnicalSheet.prototype, "fertilization", void 0);
|
|
@@ -79,22 +79,22 @@ __decorate([
|
|
|
79
79
|
__metadata("design:type", Array)
|
|
80
80
|
], PlantTechnicalSheet.prototype, "pests", void 0);
|
|
81
81
|
__decorate([
|
|
82
|
-
(0, typeorm_1.OneToOne)(() => CareInstructions_1.CareInstructions, { onDelete: "CASCADE" }),
|
|
82
|
+
(0, typeorm_1.OneToOne)(() => CareInstructions_1.CareInstructions, { onDelete: "CASCADE", cascade: true }),
|
|
83
83
|
(0, typeorm_1.JoinColumn)({ name: "careInstructionsId" }),
|
|
84
84
|
__metadata("design:type", CareInstructions_1.CareInstructions)
|
|
85
85
|
], PlantTechnicalSheet.prototype, "care", void 0);
|
|
86
86
|
__decorate([
|
|
87
|
-
(0, typeorm_1.OneToOne)(() => PropagationMethodInfo_1.PropagationMethodInfo, { onDelete: "CASCADE" }),
|
|
87
|
+
(0, typeorm_1.OneToOne)(() => PropagationMethodInfo_1.PropagationMethodInfo, { onDelete: "CASCADE", cascade: true }),
|
|
88
88
|
(0, typeorm_1.JoinColumn)({ name: "propagationMethodId" }),
|
|
89
89
|
__metadata("design:type", PropagationMethodInfo_1.PropagationMethodInfo)
|
|
90
90
|
], PlantTechnicalSheet.prototype, "propagation", void 0);
|
|
91
91
|
__decorate([
|
|
92
|
-
(0, typeorm_1.OneToOne)(() => PlantSize_1.PlantSize, { onDelete: "CASCADE" }),
|
|
92
|
+
(0, typeorm_1.OneToOne)(() => PlantSize_1.PlantSize, { onDelete: "CASCADE", cascade: true }),
|
|
93
93
|
(0, typeorm_1.JoinColumn)({ name: "plantSizeId" }),
|
|
94
94
|
__metadata("design:type", PlantSize_1.PlantSize)
|
|
95
95
|
], PlantTechnicalSheet.prototype, "size", void 0);
|
|
96
96
|
__decorate([
|
|
97
|
-
(0, typeorm_1.OneToOne)(() => GrowthClassInfo_1.GrowthClassInfo, { onDelete: "CASCADE" }),
|
|
97
|
+
(0, typeorm_1.OneToOne)(() => GrowthClassInfo_1.GrowthClassInfo, { onDelete: "CASCADE", cascade: true }),
|
|
98
98
|
(0, typeorm_1.JoinColumn)({ name: "growthClassInfoId" }),
|
|
99
99
|
__metadata("design:type", GrowthClassInfo_1.GrowthClassInfo)
|
|
100
100
|
], PlantTechnicalSheet.prototype, "growthClass", void 0);
|
package/package.json
CHANGED
|
@@ -34,27 +34,27 @@ import {
|
|
|
34
34
|
@Column("varchar", { length: 255 })
|
|
35
35
|
origin!: string;
|
|
36
36
|
|
|
37
|
-
@OneToOne(() => PlantGrowthType, { onDelete: "CASCADE" })
|
|
37
|
+
@OneToOne(() => PlantGrowthType, { onDelete: "CASCADE", cascade: true })
|
|
38
38
|
@JoinColumn({ name: "plantGrowthTypeId" })
|
|
39
39
|
plantType!: PlantGrowthType;
|
|
40
40
|
|
|
41
|
-
@OneToOne(() => LightInfo, { onDelete: "CASCADE" })
|
|
41
|
+
@OneToOne(() => LightInfo, { onDelete: "CASCADE", cascade: true })
|
|
42
42
|
@JoinColumn({ name: "lightInfoId" })
|
|
43
43
|
light!: LightInfo;
|
|
44
44
|
|
|
45
|
-
@OneToOne(() => HumidityInfo, { onDelete: "CASCADE" })
|
|
45
|
+
@OneToOne(() => HumidityInfo, { onDelete: "CASCADE", cascade: true })
|
|
46
46
|
@JoinColumn({ name: "humidityInfoId" })
|
|
47
47
|
humidity!: HumidityInfo;
|
|
48
48
|
|
|
49
|
-
@OneToOne(() => ClimateIdeal, { onDelete: "CASCADE" })
|
|
49
|
+
@OneToOne(() => ClimateIdeal, { onDelete: "CASCADE", cascade: true })
|
|
50
50
|
@JoinColumn({ name: "climateIdealId" })
|
|
51
51
|
climate!: ClimateIdeal;
|
|
52
52
|
|
|
53
|
-
@OneToOne(() => SubstrateInfo, { onDelete: "CASCADE" })
|
|
53
|
+
@OneToOne(() => SubstrateInfo, { onDelete: "CASCADE", cascade: true })
|
|
54
54
|
@JoinColumn({ name: "substrateInfoId" })
|
|
55
55
|
substrate!: SubstrateInfo;
|
|
56
56
|
|
|
57
|
-
@OneToOne(() => FertilizationInfo, { onDelete: "CASCADE" })
|
|
57
|
+
@OneToOne(() => FertilizationInfo, { onDelete: "CASCADE", cascade: true })
|
|
58
58
|
@JoinColumn({ name: "fertilizationInfoId" })
|
|
59
59
|
fertilization!: FertilizationInfo;
|
|
60
60
|
|
|
@@ -63,19 +63,19 @@ import {
|
|
|
63
63
|
})
|
|
64
64
|
pests!: PestInfo[];
|
|
65
65
|
|
|
66
|
-
@OneToOne(() => CareInstructions, { onDelete: "CASCADE" })
|
|
66
|
+
@OneToOne(() => CareInstructions, { onDelete: "CASCADE", cascade: true })
|
|
67
67
|
@JoinColumn({ name: "careInstructionsId" })
|
|
68
68
|
care!: CareInstructions;
|
|
69
69
|
|
|
70
|
-
@OneToOne(() => PropagationMethodInfo, { onDelete: "CASCADE" })
|
|
70
|
+
@OneToOne(() => PropagationMethodInfo, { onDelete: "CASCADE", cascade: true })
|
|
71
71
|
@JoinColumn({ name: "propagationMethodId" })
|
|
72
72
|
propagation!: PropagationMethodInfo;
|
|
73
73
|
|
|
74
|
-
@OneToOne(() => PlantSize, { onDelete: "CASCADE" })
|
|
74
|
+
@OneToOne(() => PlantSize, { onDelete: "CASCADE", cascade: true })
|
|
75
75
|
@JoinColumn({ name: "plantSizeId" })
|
|
76
76
|
size!: PlantSize;
|
|
77
77
|
|
|
78
|
-
@OneToOne(() => GrowthClassInfo, { onDelete: "CASCADE" })
|
|
78
|
+
@OneToOne(() => GrowthClassInfo, { onDelete: "CASCADE", cascade: true })
|
|
79
79
|
@JoinColumn({ name: "growthClassInfoId" })
|
|
80
80
|
growthClass!: GrowthClassInfo;
|
|
81
81
|
|