From 4d061dab3ea0b7b589d480cf4110e77f5a35cc49 Mon Sep 17 00:00:00 2001 From: jos3duardo Date: Sun, 10 Aug 2025 21:03:14 -0400 Subject: [PATCH] Add attempts column to payment entity for tracking payment attempts --- src/modules/payments/entities/payment.entity.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/payments/entities/payment.entity.ts b/src/modules/payments/entities/payment.entity.ts index 9c4960a..54a3068 100644 --- a/src/modules/payments/entities/payment.entity.ts +++ b/src/modules/payments/entities/payment.entity.ts @@ -30,6 +30,9 @@ export class Payment { @Column({ type: 'text', nullable: true }) errorMessage: string; + @Column({ nullable: true }) + attempts: number; + @CreateDateColumn({ type: 'timestamp', name: 'created_at' }) createdAt: Date; }