feat(dm): standard forecast added in rest of migration to come
This commit is contained in:
13
migrations/0064_magical_lady_mastermind.sql
Normal file
13
migrations/0064_magical_lady_mastermind.sql
Normal 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")
|
||||
);
|
||||
Reference in New Issue
Block a user