test(dock schedule fail): failed attempt ad doing a dock schedule but leaving in here

This commit is contained in:
2025-10-15 14:52:48 -05:00
parent 705f29e908
commit 817a5c6876
44 changed files with 10377 additions and 161 deletions

View File

@@ -0,0 +1,21 @@
CREATE TABLE "orderScheduler" (
"schedule_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"order_type" text NOT NULL,
"order_number" integer NOT NULL,
"header" text NOT NULL,
"line_item_number" text,
"customer_release_number" text,
"delivery_date" date NOT NULL,
"loading_date" date,
"order_qty" real NOT NULL,
"order_lu" real NOT NULL,
"delivered_qty" real DEFAULT 0,
"delivered_lu" real DEFAULT 0,
"remark" text,
"current_state" integer,
"lst_date_check" date,
"dock" text,
"order_from" text
);
--> statement-breakpoint
CREATE UNIQUE INDEX "orderNumber" ON "orderScheduler" USING btree ("order_number");

View File

@@ -0,0 +1,2 @@
ALTER TABLE "orderScheduler" ADD COLUMN "av" integer;--> statement-breakpoint
ALTER TABLE "orderScheduler" ADD COLUMN "decription" text;

View File

@@ -0,0 +1,2 @@
ALTER TABLE "orderScheduler" ADD COLUMN "add_date" date DEFAULT now();--> statement-breakpoint
ALTER TABLE "orderScheduler" ADD COLUMN "upd_date" date DEFAULT now();

View File

@@ -0,0 +1 @@
ALTER TABLE "orderScheduler" RENAME COLUMN "decription" TO "description";

View File

@@ -0,0 +1,2 @@
ALTER TABLE "orderScheduler" ADD COLUMN "customer_address_id" integer;--> statement-breakpoint
ALTER TABLE "orderScheduler" ADD COLUMN "customer_description" text;

View File

@@ -0,0 +1 @@
ALTER TABLE "orderScheduler" ADD COLUMN "created_as_EDI" boolean;

View File

@@ -0,0 +1,7 @@
ALTER TABLE "orderScheduler" ALTER COLUMN "delivery_date" SET DATA TYPE timestamp;--> statement-breakpoint
ALTER TABLE "orderScheduler" ALTER COLUMN "loading_date" SET DATA TYPE timestamp;--> statement-breakpoint
ALTER TABLE "orderScheduler" ALTER COLUMN "lst_date_check" SET DATA TYPE timestamp;--> statement-breakpoint
ALTER TABLE "orderScheduler" ALTER COLUMN "add_date" SET DATA TYPE timestamp;--> statement-breakpoint
ALTER TABLE "orderScheduler" ALTER COLUMN "add_date" SET DEFAULT now();--> statement-breakpoint
ALTER TABLE "orderScheduler" ALTER COLUMN "upd_date" SET DATA TYPE timestamp;--> statement-breakpoint
ALTER TABLE "orderScheduler" ALTER COLUMN "upd_date" SET DEFAULT now();

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

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

File diff suppressed because it is too large Load Diff

View File

@@ -85,6 +85,55 @@
"when": 1759195276875,
"tag": "0011_careless_banshee",
"breakpoints": true
},
{
"idx": 12,
"version": "7",
"when": 1760374807920,
"tag": "0012_wise_cardiac",
"breakpoints": true
},
{
"idx": 13,
"version": "7",
"when": 1760377601945,
"tag": "0013_known_dragon_man",
"breakpoints": true
},
{
"idx": 14,
"version": "7",
"when": 1760388532973,
"tag": "0014_huge_mother_askani",
"breakpoints": true
},
{
"idx": 15,
"version": "7",
"when": 1760388593956,
"tag": "0015_swift_rattler",
"breakpoints": true
},
{
"idx": 16,
"version": "7",
"when": 1760444321051,
"tag": "0016_glorious_wolf_cub",
"breakpoints": true
},
{
"idx": 17,
"version": "7",
"when": 1760457733998,
"tag": "0017_previous_kate_bishop",
"breakpoints": true
},
{
"idx": 18,
"version": "7",
"when": 1760480733009,
"tag": "0018_aspiring_silver_samurai",
"breakpoints": true
}
]
}