From b7f5af1f4b6691052bb3e77968a478ff27696095 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 28 May 2025 00:33:50 +0000
Subject: (대표님 / 최겸) 스키마 변경사항 및 마이그레이션 커밋
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/migrations/0073_empty_thor.sql | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 db/migrations/0073_empty_thor.sql

(limited to 'db/migrations/0073_empty_thor.sql')

diff --git a/db/migrations/0073_empty_thor.sql b/db/migrations/0073_empty_thor.sql
new file mode 100644
index 00000000..323f0f20
--- /dev/null
+++ b/db/migrations/0073_empty_thor.sql
@@ -0,0 +1,9 @@
+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;
\ No newline at end of file
-- 
cgit v1.2.3

