feat(eom): added in historical inv data split accordingly

This commit is contained in:
2025-05-28 17:01:22 -05:00
parent 25cfee58d0
commit 96deca15f0
16 changed files with 6385 additions and 36 deletions

View File

@@ -0,0 +1,16 @@
CREATE TABLE "invHistoricalData" (
"inv_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"histDate" date NOT NULL,
"plantToken" text,
"article" text NOT NULL,
"articleDescription" text NOT NULL,
"materialType" text,
"total_QTY" integer,
"avaliable_QTY" integer,
"coa_QTY" integer,
"held_QTY" integer,
"consignment" integer,
"location" integer,
"upd_user" text,
"upd_date" timestamp
);

View File

@@ -0,0 +1,5 @@
ALTER TABLE "invHistoricalData" ALTER COLUMN "total_QTY" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "invHistoricalData" ALTER COLUMN "coa_QTY" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "invHistoricalData" ALTER COLUMN "held_QTY" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "invHistoricalData" ALTER COLUMN "consignment" SET DATA TYPE text;--> statement-breakpoint
ALTER TABLE "invHistoricalData" ALTER COLUMN "location" SET DATA TYPE text;

View File

@@ -0,0 +1 @@
ALTER TABLE "invHistoricalData" ALTER COLUMN "avaliable_QTY" SET DATA TYPE text;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -435,6 +435,27 @@
"when": 1748370693078,
"tag": "0061_mature_the_stranger",
"breakpoints": true
},
{
"idx": 62,
"version": "7",
"when": 1748462132080,
"tag": "0062_narrow_silver_centurion",
"breakpoints": true
},
{
"idx": 63,
"version": "7",
"when": 1748463780733,
"tag": "0063_powerful_revanche",
"breakpoints": true
},
{
"idx": 64,
"version": "7",
"when": 1748464203006,
"tag": "0064_aberrant_blindfold",
"breakpoints": true
}
]
}