Add attempts column to payment table for tracking retries

This commit is contained in:
Jose Eduardo 2025-08-10 21:07:34 -04:00
parent 471fb2328d
commit 3bad475df6

View File

@ -5,6 +5,7 @@ CREATE UNLOGGED TABLE payments (
payment_processor VARCHAR(50, payment_processor VARCHAR(50,
status VARCHAR(50) NOT NULL, status VARCHAR(50) NOT NULL,
error_message TEXT, error_message TEXT,
attempts INTEGER,
created_at TIMESTAMP default now() NOT NULL created_at TIMESTAMP default now() NOT NULL
); );