Reorganized code + migration to go1.22

This commit is contained in:
brajkovic committed 2024-04-01 20:29:24 +02:00
1 parent e3d77d55b9
commit 7369777098
25 files changed
+825 -605

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ CREATE TABLE IF NOT EXISTS "payment_entry"
"payment_intent_id" varchar(255) DEFAULT NULL,
"ws_pay_order_id" varchar(255) DEFAULT '',
"shopping_card_id" varchar(255) DEFAULT NULL,
"stan" varchar(255) DEFAULT NULL,
"success" int DEFAULT NULL,
+31
View File
@@ -0,0 +1,31 @@
CREATE TABLE IF NOT EXISTS "payment_entry"
(
"id" uuid NOT NULL,
"created" timestamp NOT NULL,
"modified" timestamp DEFAULT NULL,
"gateway" varchar(255) NOT NULL,
"state" varchar(255) NOT NULL,
"lang" varchar(16) DEFAULT NULL,
"error" varchar(255) DEFAULT NULL,
"amount" int DEFAULT NULL,
"total_amount" int NOT NULL,
"eci" varchar(255) DEFAULT NULL,
"payment_intent_id" varchar(255) DEFAULT NULL,
"ws_pay_order_id" varchar(255) DEFAULT '',
"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,
"event_id" varchar(255) DEFAULT NULL,
PRIMARY KEY (id)
);