fix: general fixes on date types and some typos

This commit is contained in:
Abdalhamid Alhamad
2025-01-05 10:38:19 +03:00
parent aefa866ae7
commit eca84b4e75
4 changed files with 6 additions and 6 deletions

View File

@ -36,10 +36,10 @@ export class Task extends BaseEntity {
@Column({ type: 'varchar', name: 'task_frequency' })
taskFrequency!: TaskFrequency;
@Column({ type: 'date', name: 'start_date' })
@Column({ type: 'timestamp with time zone', name: 'start_date' })
startDate!: Date;
@Column({ type: 'date', name: 'due_date' })
@Column({ type: 'timestamp with time zone', name: 'due_date' })
dueDate!: Date;
@Column({ type: 'boolean', name: 'is_proof_required' })