diff options
| author | Tom Harley | 2018-03-06 16:49:40 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-03-06 16:49:40 +0000 |
| commit | 47efbfcdf6653a181ecf17c5c04b52f8879b7f1a (patch) | |
| tree | 907279e91b6395affcb4583f83a50a882caa566b /src/db/model/File.ts | |
| parent | Remove console.log mentions in errorware.ts (diff) | |
| download | medicine-47efbfcdf6653a181ecf17c5c04b52f8879b7f1a.tar.gz medicine-47efbfcdf6653a181ecf17c5c04b52f8879b7f1a.zip | |
Begin support for process manager (PM2)
Diffstat (limited to 'src/db/model/File.ts')
| -rw-r--r-- | src/db/model/File.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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<File> { public rootFolderOf?: Project; @CreatedAt - @Column + @Column(DataType.DATE) public uploadDate!: Date; @UpdatedAt - @Column + @Column(DataType.DATE) public modifyDate!: Date; public get containedFiles(): File[] { |
