@asumano/worklip-typeorm-db 1.1.36 → 1.1.37

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.
@@ -16,5 +16,6 @@ export declare class Reminder {
16
16
  reminder_date: string;
17
17
  send_via: number;
18
18
  created: Date;
19
+ updated: Date | null;
19
20
  status: number;
20
21
  }
@@ -120,7 +120,17 @@ __decorate([
120
120
  ], Reminder.prototype, "created", void 0);
121
121
  __decorate([
122
122
  (0, typeorm_1.Column)({
123
- default: 0,
123
+ type: "datetime",
124
+ nullable: true,
125
+ default: null,
126
+ comment: "Fecha de actualización del registro.",
127
+ onUpdate: "CURRENT_TIMESTAMP",
128
+ }),
129
+ __metadata("design:type", Object)
130
+ ], Reminder.prototype, "updated", void 0);
131
+ __decorate([
132
+ (0, typeorm_1.Column)({
133
+ default: 1,
124
134
  type: "int",
125
135
  width: 1,
126
136
  comment: "Estado en el que se encuentra el recordatorio:\n1. Pendiente.\n2. Entregado\n3. Cancelado.",
@@ -11,6 +11,7 @@ export declare class Reminders {
11
11
  reminder_date: string;
12
12
  send_via: number;
13
13
  created: Date;
14
+ updated: Date | null;
14
15
  status: number;
15
16
  workshop_id: number;
16
17
  workshop_company: number;
@@ -62,6 +62,10 @@ __decorate([
62
62
  (0, typeorm_1.ViewColumn)(),
63
63
  __metadata("design:type", Date)
64
64
  ], Reminders.prototype, "created", void 0);
65
+ __decorate([
66
+ (0, typeorm_1.ViewColumn)(),
67
+ __metadata("design:type", Object)
68
+ ], Reminders.prototype, "updated", void 0);
65
69
  __decorate([
66
70
  (0, typeorm_1.ViewColumn)(),
67
71
  __metadata("design:type", Number)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asumano/worklip-typeorm-db",
3
- "version": "1.1.36",
3
+ "version": "1.1.37",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },