feat(purchase): historical data capture for alpla purchase

This commit is contained in:
2026-04-07 22:33:11 -05:00
parent 5f3d683a13
commit 42861cc69e
14 changed files with 1765 additions and 16 deletions

View File

@@ -0,0 +1,15 @@
CREATE TABLE "alpla_purchase_history" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"apo" integer,
"revision" integer,
"confirmed" integer,
"status" integer,
"status_text" integer,
"add_date" timestamp DEFAULT now(),
"upd_date" timestamp DEFAULT now(),
"add_user" text,
"upd_user" text,
"remark" text,
"position" jsonb DEFAULT '[]'::jsonb,
"created_at" timestamp DEFAULT now()
);