2023-07-30 10:14:05 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS "payment_entry"
|
2023-07-10 08:10:13 +00:00
|
|
|
(
|
|
|
|
"id" uuid NOT NULL,
|
2023-07-30 10:14:05 +00:00
|
|
|
"created" timestamp NOT NULL,
|
|
|
|
"modified" timestamp DEFAULT NULL,
|
2023-07-10 08:10:13 +00:00
|
|
|
|
2023-07-30 10:14:05 +00:00
|
|
|
"gateway" varchar(255) NOT NULL,
|
|
|
|
"state" varchar(255) NOT NULL,
|
2023-07-26 07:51:29 +00:00
|
|
|
|
2023-07-30 10:14:05 +00:00
|
|
|
"lang" varchar(16) DEFAULT NULL,
|
|
|
|
"error" varchar(255) DEFAULT NULL,
|
2023-07-26 07:51:29 +00:00
|
|
|
|
2023-07-30 10:14:05 +00:00
|
|
|
"amount" int DEFAULT NULL,
|
2023-07-26 07:51:29 +00:00
|
|
|
"total_amount" int NOT NULL,
|
2023-07-27 08:11:40 +00:00
|
|
|
|
2023-07-30 10:14:05 +00:00
|
|
|
"eci" varchar(255) DEFAULT NULL,
|
2023-07-27 08:11:40 +00:00
|
|
|
|
2023-07-30 10:14:05 +00:00
|
|
|
"payment_intent_id" varchar(255) DEFAULT NULL,
|
2023-07-26 07:51:29 +00:00
|
|
|
|
2023-07-30 10:14:05 +00:00
|
|
|
"shopping_card_id" varchar(255) DEFAULT NULL,
|
|
|
|
"stan" varchar(255) DEFAULT NULL,
|
|
|
|
"success" int DEFAULT NULL,
|
|
|
|
"approval_code" varchar(255) DEFAULT NULL,
|
|
|
|
|
|
|
|
"order_id" varchar(255) DEFAULT NULL,
|
2023-07-27 08:11:40 +00:00
|
|
|
"transaction_id" uuid DEFAULT NULL,
|
2023-07-30 10:14:05 +00:00
|
|
|
"event_id" varchar(255) DEFAULT NULL,
|
2023-07-26 07:51:29 +00:00
|
|
|
|
|
|
|
PRIMARY KEY (id)
|
|
|
|
);
|