From ef4c533ebacc2cdc97e518f30e9a9350004fcdfb Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 28 Apr 2025 02:13:30 +0000
Subject: ~20250428 작업사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/migrations/0015_wide_mindworm.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 db/migrations/0015_wide_mindworm.sql

(limited to 'db/migrations/0015_wide_mindworm.sql')

diff --git a/db/migrations/0015_wide_mindworm.sql b/db/migrations/0015_wide_mindworm.sql
new file mode 100644
index 00000000..16a4ffac
--- /dev/null
+++ b/db/migrations/0015_wide_mindworm.sql
@@ -0,0 +1,2 @@
+DROP VIEW "public"."vendor_candidates_with_vendor_info";--> statement-breakpoint
+CREATE VIEW "public"."vendor_candidates_with_vendor_info" AS (select "vendor_candidates"."id", "vendor_candidates"."company_name", "vendor_candidates"."contact_email", "vendor_candidates"."contact_phone", "vendor_candidates"."tax_id", "vendor_candidates"."address", "vendor_candidates"."country", "vendor_candidates"."source", "vendor_candidates"."status", "vendor_candidates"."remark", "vendor_candidates"."items", "vendor_candidates"."vendor_id", "vendor_candidates"."created_at", "vendor_candidates"."updated_at", "vendors"."vendor_name", "vendors"."vendor_code", "vendors"."created_at" as "vendor_created_at" from "vendor_candidates" left join "vendors" on "vendor_candidates"."vendor_id" = "vendors"."id");
\ No newline at end of file
-- 
cgit v1.2.3

