mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 16:44:54 +00:00
fix: general fixes on date types and some typos
This commit is contained in:
@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user