@asumano/worklip-typeorm-db 1.1.50 → 1.1.51

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.
@@ -15,5 +15,6 @@ export declare class MediaFile {
15
15
  compression_percentage: number | null;
16
16
  status: number;
17
17
  created: Date;
18
+ updated: Date | null;
18
19
  deleted: Date | null;
19
20
  }
@@ -115,7 +115,7 @@ __decorate([
115
115
  default: 1,
116
116
  type: "int",
117
117
  width: 1,
118
- comment: "1: Activo, 0: Eliminado.",
118
+ comment: "1: Activo, 0: Inactivo, 2: Eliminado.",
119
119
  }),
120
120
  __metadata("design:type", Number)
121
121
  ], MediaFile.prototype, "status", void 0);
@@ -127,6 +127,16 @@ __decorate([
127
127
  }),
128
128
  __metadata("design:type", Date)
129
129
  ], MediaFile.prototype, "created", void 0);
130
+ __decorate([
131
+ (0, typeorm_1.Column)({
132
+ type: "datetime",
133
+ nullable: true,
134
+ default: null,
135
+ comment: "Fecha de actualización del registro.",
136
+ onUpdate: "CURRENT_TIMESTAMP",
137
+ }),
138
+ __metadata("design:type", Object)
139
+ ], MediaFile.prototype, "updated", void 0);
130
140
  __decorate([
131
141
  (0, typeorm_1.Column)({
132
142
  type: "datetime",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asumano/worklip-typeorm-db",
3
- "version": "1.1.50",
3
+ "version": "1.1.51",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },