test-entity-library-asm 3.4.4 → 3.4.5
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.
|
@@ -70,6 +70,15 @@ var LocalTable = /** @class */ (function () {
|
|
|
70
70
|
}),
|
|
71
71
|
__metadata("design:type", Number)
|
|
72
72
|
], LocalTable.prototype, "column", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({
|
|
75
|
+
type: "int",
|
|
76
|
+
default: 1,
|
|
77
|
+
width: 1,
|
|
78
|
+
comment: "Columna para saber qué tipo de mesa es:\r\n1: Cuadrada.\r\n2: Redonda.",
|
|
79
|
+
}),
|
|
80
|
+
__metadata("design:type", Number)
|
|
81
|
+
], LocalTable.prototype, "type", void 0);
|
|
73
82
|
__decorate([
|
|
74
83
|
(0, typeorm_1.ManyToOne)(function () { return __1.LocalTableZone; }, function (localTableZone) { return localTableZone.local_tables; }, {
|
|
75
84
|
onDelete: "CASCADE",
|
package/package.json
CHANGED
|
@@ -61,6 +61,15 @@ export class LocalTable {
|
|
|
61
61
|
})
|
|
62
62
|
column: number;
|
|
63
63
|
|
|
64
|
+
@Column({
|
|
65
|
+
type: "int",
|
|
66
|
+
default: 1,
|
|
67
|
+
width: 1,
|
|
68
|
+
comment:
|
|
69
|
+
"Columna para saber qué tipo de mesa es:\r\n1: Cuadrada.\r\n2: Redonda.",
|
|
70
|
+
})
|
|
71
|
+
type: number;
|
|
72
|
+
|
|
64
73
|
@ManyToOne(
|
|
65
74
|
() => LocalTableZone,
|
|
66
75
|
(localTableZone) => localTableZone.local_tables,
|