1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-12-01 22:52:06 +02:00

creating integration test for typeorm

This commit is contained in:
Patrik Braun
2017-12-19 11:19:48 -05:00
parent b081a87936
commit d4318c31c3
4 changed files with 224 additions and 5 deletions

View File

@@ -14,9 +14,15 @@ export class DirectoryEntity implements DirectoryDTO {
@Column()
path: string;
/**
* last time the directory was modified (from outside, eg.: a new photo was added)
*/
@Column('bigint')
public lastModified: number;
/**
* Last time the directory was fully scanned, not only for a few photos to create a preview
*/
@Column({type: "bigint", nullable: true})
public lastScanned: number;