feat(dm): migrated all the dm topics
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s
This commit is contained in:
13
migrations/0066_milky_bedlam.sql
Normal file
13
migrations/0066_milky_bedlam.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE "order_import" (
|
||||
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
||||
"receiving_plant_id" text NOT NULL,
|
||||
"documentName" text,
|
||||
"sender" text,
|
||||
"customer_id" text,
|
||||
"invoice_address_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'
|
||||
);
|
||||
18
migrations/0067_low_bullseye.sql
Normal file
18
migrations/0067_low_bullseye.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
CREATE TABLE "prod_audit_log" (
|
||||
"id" serial PRIMARY KEY NOT NULL,
|
||||
"audit_id" integer NOT NULL,
|
||||
"actor_name" text NOT NULL,
|
||||
"audit_created_date" timestamp with time zone NOT NULL,
|
||||
"message" text NOT NULL,
|
||||
"content" jsonb NOT NULL,
|
||||
"status" text DEFAULT 'pending' NOT NULL,
|
||||
"processed" boolean DEFAULT false,
|
||||
"retry_count" integer DEFAULT 0 NOT NULL,
|
||||
"next_retry_at" timestamp with time zone,
|
||||
"error_message" text,
|
||||
"error_stack" text,
|
||||
"processed_at" timestamp with time zone,
|
||||
"created_at" timestamp with time zone DEFAULT now(),
|
||||
"updated_at" timestamp with time zone DEFAULT now(),
|
||||
CONSTRAINT "prod_audit_log_audit_id_unique" UNIQUE("audit_id")
|
||||
);
|
||||
3
migrations/0068_flaky_retro_girl.sql
Normal file
3
migrations/0068_flaky_retro_girl.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
CREATE TABLE "prod_audit_log_processed" (
|
||||
"last_processed" integer DEFAULT 0
|
||||
);
|
||||
7
migrations/0070_broad_revanche.sql
Normal file
7
migrations/0070_broad_revanche.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE "prod_audit_log_processed" RENAME TO "prod_audit_log_state";--> statement-breakpoint
|
||||
ALTER TABLE "prod_audit_log_state" ADD COLUMN "id" integer PRIMARY KEY DEFAULT 1 NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE "prod_audit_log_state" ADD COLUMN "last_imported_audit_id" integer DEFAULT 0 NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE "prod_audit_log_state" ADD COLUMN "last_processed_audit_id" integer DEFAULT 0 NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE "prod_audit_log_state" ADD COLUMN "created_at" timestamp with time zone DEFAULT now();--> statement-breakpoint
|
||||
ALTER TABLE "prod_audit_log_state" ADD COLUMN "updated_at" timestamp with time zone DEFAULT now();--> statement-breakpoint
|
||||
ALTER TABLE "prod_audit_log_state" DROP COLUMN "last_processed";
|
||||
2860
migrations/meta/0066_snapshot.json
Normal file
2860
migrations/meta/0066_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
2976
migrations/meta/0067_snapshot.json
Normal file
2976
migrations/meta/0067_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
2996
migrations/meta/0068_snapshot.json
Normal file
2996
migrations/meta/0068_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
3024
migrations/meta/0070_snapshot.json
Normal file
3024
migrations/meta/0070_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -463,6 +463,41 @@
|
||||
"when": 1781426193735,
|
||||
"tag": "0065_jittery_ares",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 66,
|
||||
"version": "7",
|
||||
"when": 1782292405098,
|
||||
"tag": "0066_milky_bedlam",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 67,
|
||||
"version": "7",
|
||||
"when": 1782400069152,
|
||||
"tag": "0067_low_bullseye",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 68,
|
||||
"version": "7",
|
||||
"when": 1782401046031,
|
||||
"tag": "0068_flaky_retro_girl",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 69,
|
||||
"version": "7",
|
||||
"when": 1782403148642,
|
||||
"tag": "0069_slow_speedball",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 70,
|
||||
"version": "7",
|
||||
"when": 1782403232037,
|
||||
"tag": "0070_broad_revanche",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user