test(fifo index): running fifo index data on 2 servers as a trial to validate data

This commit is contained in:
2025-05-27 15:01:07 -05:00
parent f8001f2497
commit d07d1000c3
10 changed files with 2172 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE "fifoIndex" (
"fifoIndex_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"lot" text NOT NULL,
"av" numeric NOT NULL,
"runningNr" numeric NOT NULL,
"prodDate" timestamp NOT NULL,
"fifoFollowed" boolean NOT NULL,
"add_Date" timestamp DEFAULT now()
);
--> statement-breakpoint
CREATE UNIQUE INDEX "fifo_runningNr" ON "fifoIndex" USING btree ("runningNr");