refactor(server): change asset entity to date type (#2599)

* refactor(server): change asset entity to date type

* lower coverage threshold
This commit is contained in:
Michel Heusschen
2023-05-29 16:05:14 +02:00
committed by GitHub
parent caba462703
commit 94d0705607
18 changed files with 98 additions and 93 deletions

View File

@@ -55,16 +55,16 @@ export class AssetEntity {
encodedVideoPath!: string | null;
@CreateDateColumn({ type: 'timestamptz' })
createdAt!: string;
createdAt!: Date;
@UpdateDateColumn({ type: 'timestamptz' })
updatedAt!: string;
updatedAt!: Date;
@Column({ type: 'timestamptz' })
fileCreatedAt!: string;
fileCreatedAt!: Date;
@Column({ type: 'timestamptz' })
fileModifiedAt!: string;
fileModifiedAt!: Date;
@Column({ type: 'boolean', default: false })
isFavorite!: boolean;