feat(dm): migrated all the dm topics
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 4m26s

This commit is contained in:
2026-06-26 11:05:17 -05:00
parent 012a7e83b2
commit 47b149d1ea
48 changed files with 14156 additions and 44 deletions

View 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";