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