be s
This commit is contained in:
@@ -21,10 +21,12 @@ class TimestampedEntity {
|
||||
}
|
||||
exports.TimestampedEntity = TimestampedEntity;
|
||||
__decorate([
|
||||
(0, typeorm_1.Index)(),
|
||||
(0, typeorm_1.CreateDateColumn)({ type: 'timestamp' }),
|
||||
__metadata("design:type", Date)
|
||||
], TimestampedEntity.prototype, "createdAt", void 0);
|
||||
__decorate([
|
||||
(0, typeorm_1.Index)(),
|
||||
(0, typeorm_1.UpdateDateColumn)({ type: 'timestamp' }),
|
||||
__metadata("design:type", Date)
|
||||
], TimestampedEntity.prototype, "updatedAt", void 0);
|
||||
|
Reference in New Issue
Block a user