Add attempts column to payment entity for tracking payment attempts
This commit is contained in:
parent
012563f252
commit
4d061dab3e
@ -30,6 +30,9 @@ export class Payment {
|
|||||||
@Column({ type: 'text', nullable: true })
|
@Column({ type: 'text', nullable: true })
|
||||||
errorMessage: string;
|
errorMessage: string;
|
||||||
|
|
||||||
|
@Column({ nullable: true })
|
||||||
|
attempts: number;
|
||||||
|
|
||||||
@CreateDateColumn({ type: 'timestamp', name: 'created_at' })
|
@CreateDateColumn({ type: 'timestamp', name: 'created_at' })
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user