From 47efbfcdf6653a181ecf17c5c04b52f8879b7f1a Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Tue, 6 Mar 2018 16:49:40 +0000 Subject: Begin support for process manager (PM2) --- src/db/model/File.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/db/model/File.ts') diff --git a/src/db/model/File.ts b/src/db/model/File.ts index 50c8e74..33043f0 100644 --- a/src/db/model/File.ts +++ b/src/db/model/File.ts @@ -39,11 +39,11 @@ export default class File extends Model { public rootFolderOf?: Project; @CreatedAt - @Column + @Column(DataType.DATE) public uploadDate!: Date; @UpdatedAt - @Column + @Column(DataType.DATE) public modifyDate!: Date; public get containedFiles(): File[] { -- cgit v1.2.1