payment-poc/db/dev/v1_0.sql

32 lines
812 B
MySQL
Raw Permalink Normal View History

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-30 10:14:05 +00:00
"eci" varchar(255) DEFAULT NULL,
2023-07-30 10:14:05 +00:00
"payment_intent_id" varchar(255) DEFAULT NULL,
2023-07-26 07:51:29 +00:00
2024-04-01 18:29:24 +00:00
"ws_pay_order_id" varchar(255) DEFAULT '',
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,
"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)
);