CREATE TABLE "qualityRequest" (
	"request_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
	"article" numeric,
	"description" text,
	"runningNr" text,
	"lotNr" numeric,
	"warehouseAtRequest" text,
	"locationAtRequest" text,
	"warehouseMovedTo" text,
	"locationMovedTo" text,
	"durationToMove" numeric,
	"locationDropOff" text,
	"palletStatus" numeric,
	"palletStatusText" text,
	"palletRequest" numeric,
	"add_date" timestamp DEFAULT now(),
	"add_user" text DEFAULT 'LST',
	"upd_date" timestamp DEFAULT now(),
	"upd_user" text DEFAULT 'LST'
);
--> statement-breakpoint
ALTER TABLE "rfidReaders" ADD COLUMN "lastTagScanned" text;--> statement-breakpoint
ALTER TABLE "logs" DROP COLUMN "checkedAt";