Add status and error_message fields to payment_processor table
This commit is contained in:
parent
31edb2cc37
commit
c9e5fa8c2c
@ -2,7 +2,9 @@ CREATE UNLOGGED TABLE payments (
|
||||
id UUID PRIMARY KEY,
|
||||
correlation_id UUID 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
|
||||
);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user