fix(ocme): fixed to make sure we can always just update a runnning nunmber

This commit is contained in:
2025-03-27 21:05:49 -05:00
parent ac7859fda3
commit e3ba45ae13
4 changed files with 1295 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE "prodlabels" ALTER COLUMN "add_date" SET DEFAULT now();--> statement-breakpoint
ALTER TABLE "prodlabels" ALTER COLUMN "upd_date" SET DEFAULT now();--> statement-breakpoint
ALTER TABLE "prodlabels" ADD COLUMN "add_user" text DEFAULT 'lst';--> statement-breakpoint
CREATE UNIQUE INDEX "ocme_runningNr" ON "ocmeData" USING btree ("runningNr");