ALTER TABLE "vendor_investigations" ADD COLUMN "pq_submission_id" integer;--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD COLUMN "evaluation_type" varchar(50);--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD COLUMN "investigation_address" text;--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD COLUMN "investigation_method" varchar(100);--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD COLUMN "requested_at" timestamp;--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD COLUMN "confirmed_at" timestamp;--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD COLUMN "evaluation_score" integer;--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD COLUMN "evaluation_result" varchar(50);--> statement-breakpoint
ALTER TABLE "vendor_investigations" ADD CONSTRAINT "vendor_investigations_pq_submission_id_vendor_pq_submissions_id_fk" FOREIGN KEY ("pq_submission_id") REFERENCES "public"."vendor_pq_submissions"("id") ON DELETE set null ON UPDATE cascade;