diff options
| author | Tom Harley | 2018-03-07 13:35:36 +0000 |
|---|---|---|
| committer | Tom Harley | 2018-03-07 13:35:36 +0000 |
| commit | 8cbaa309d6a747a3ed7d19ae0ac2ee596228f7df (patch) | |
| tree | f512be4cde7ba3e2f071e31bb422b7ad963c4698 /src/db/model/File.ts | |
| parent | Merge branch 'trh/docs' into development (diff) | |
| parent | Tune PM2 configuration, and add pmx for profiling (diff) | |
| download | medicine-8cbaa309d6a747a3ed7d19ae0ac2ee596228f7df.tar.gz medicine-8cbaa309d6a747a3ed7d19ae0ac2ee596228f7df.zip | |
Merge branch ‘trh/pm’ into development
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[] { |
