feat(dm): standard forecast added in rest of migration to come

This commit is contained in:
2026-06-14 03:52:34 -05:00
parent d85f08cb19
commit 39db142db4
18 changed files with 6163 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
CREATE TABLE "forecast_import" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"receiving_plant_id" text NOT NULL,
"documentName" text,
"sender" text,
"customer_id" text,
"raw_data" jsonb DEFAULT '[]'::jsonb,
"add_date" timestamp with time zone DEFAULT now(),
"add_user" text DEFAULT 'lst-system',
"upd_date" timestamp with time zone DEFAULT now(),
"upd_user" text DEFAULT 'lst-system',
CONSTRAINT "forecast_import_documentName_unique" UNIQUE("documentName")
);