test(dock schedule fail): failed attempt ad doing a dock schedule but leaving in here
This commit is contained in:
21
migrations/0012_wise_cardiac.sql
Normal file
21
migrations/0012_wise_cardiac.sql
Normal 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");
|
||||
2
migrations/0013_known_dragon_man.sql
Normal file
2
migrations/0013_known_dragon_man.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "orderScheduler" ADD COLUMN "av" integer;--> statement-breakpoint
|
||||
ALTER TABLE "orderScheduler" ADD COLUMN "decription" text;
|
||||
2
migrations/0014_huge_mother_askani.sql
Normal file
2
migrations/0014_huge_mother_askani.sql
Normal 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();
|
||||
1
migrations/0015_swift_rattler.sql
Normal file
1
migrations/0015_swift_rattler.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "orderScheduler" RENAME COLUMN "decription" TO "description";
|
||||
2
migrations/0016_glorious_wolf_cub.sql
Normal file
2
migrations/0016_glorious_wolf_cub.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "orderScheduler" ADD COLUMN "customer_address_id" integer;--> statement-breakpoint
|
||||
ALTER TABLE "orderScheduler" ADD COLUMN "customer_description" text;
|
||||
1
migrations/0017_previous_kate_bishop.sql
Normal file
1
migrations/0017_previous_kate_bishop.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "orderScheduler" ADD COLUMN "created_as_EDI" boolean;
|
||||
7
migrations/0018_aspiring_silver_samurai.sql
Normal file
7
migrations/0018_aspiring_silver_samurai.sql
Normal 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();
|
||||
1190
migrations/meta/0012_snapshot.json
Normal file
1190
migrations/meta/0012_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
1202
migrations/meta/0013_snapshot.json
Normal file
1202
migrations/meta/0013_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
1216
migrations/meta/0014_snapshot.json
Normal file
1216
migrations/meta/0014_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
1216
migrations/meta/0015_snapshot.json
Normal file
1216
migrations/meta/0015_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
1228
migrations/meta/0016_snapshot.json
Normal file
1228
migrations/meta/0016_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
1234
migrations/meta/0017_snapshot.json
Normal file
1234
migrations/meta/0017_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
1234
migrations/meta/0018_snapshot.json
Normal file
1234
migrations/meta/0018_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user