Add status and error_message fields to payment_processor table

This commit is contained in:
Jose Eduardo 2025-08-09 22:37:17 -04:00
parent 31edb2cc37
commit c9e5fa8c2c

View File

@ -2,7 +2,9 @@ CREATE UNLOGGED TABLE payments (
id UUID PRIMARY KEY, id UUID PRIMARY KEY,
correlation_id UUID NOT NULL, correlation_id UUID NOT NULL,
amount DECIMAL NOT NULL, amount DECIMAL NOT NULL,
payment_processor VARCHAR(50) NOT NULL, payment_processor VARCHAR(50,
status VARCHAR(50) NOT NULL,
error_message TEXT,
created_at TIMESTAMP default now() NOT NULL created_at TIMESTAMP default now() NOT NULL
); );