test-entity-library-asm 2.6.30 → 2.7.1

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.
@@ -61,12 +61,14 @@ var DiscountCodeCompany = /** @class */ (function () {
61
61
  ], DiscountCodeCompany.prototype, "created", void 0);
62
62
  __decorate([
63
63
  (0, typeorm_1.Column)({
64
+ type: 'date',
64
65
  comment: 'Fecha inicial del descuento.',
65
66
  }),
66
67
  __metadata("design:type", String)
67
68
  ], DiscountCodeCompany.prototype, "start", void 0);
68
69
  __decorate([
69
70
  (0, typeorm_1.Column)({
71
+ type: 'date',
70
72
  nullable: true,
71
73
  comment: 'Fecha de expiración del registro.',
72
74
  }),
@@ -97,7 +99,7 @@ var DiscountCodeCompany = /** @class */ (function () {
97
99
  onDelete: 'CASCADE',
98
100
  onUpdate: 'NO ACTION',
99
101
  }),
100
- (0, typeorm_1.JoinColumn)({ name: 'update_by' }),
102
+ (0, typeorm_1.JoinColumn)({ name: 'updated_by' }),
101
103
  __metadata("design:type", Master_1.Master)
102
104
  ], DiscountCodeCompany.prototype, "updated_by", void 0);
103
105
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "2.6.30",
3
+ "version": "2.7.1",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -54,11 +54,13 @@ export class DiscountCodeCompany {
54
54
  created: Date
55
55
 
56
56
  @Column({
57
+ type: 'date',
57
58
  comment: 'Fecha inicial del descuento.',
58
59
  })
59
60
  start: string
60
61
 
61
62
  @Column({
63
+ type: 'date',
62
64
  nullable: true,
63
65
  comment: 'Fecha de expiración del registro.',
64
66
  })
@@ -87,7 +89,7 @@ export class DiscountCodeCompany {
87
89
  onDelete: 'CASCADE',
88
90
  onUpdate: 'NO ACTION',
89
91
  })
90
- @JoinColumn({ name: 'update_by' })
92
+ @JoinColumn({ name: 'updated_by' })
91
93
  updated_by: Master
92
94
 
93
95
  @OneToMany(