From e46b7ccad4db812dfc8455b20425469afad61788 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 13 May 2025 03:07:39 +0000
Subject: (대표님) drizzle-kit migrations and snapshots
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

(limited to 'db/migrations/0047_past_meggan.sql')

diff --git a/db/migrations/0047_past_meggan.sql b/db/migrations/0047_past_meggan.sql
new file mode 100644
index 00000000..dbcaafea
--- /dev/null
+++ b/db/migrations/0047_past_meggan.sql
@@ -0,0 +1,2 @@
+DROP VIEW "public"."procurement_rfq_details_view";--> statement-breakpoint
+CREATE VIEW "public"."procurement_rfq_details_view" AS (select "rfq_details"."id", "rfqs"."id", "rfqs"."rfq_code", "projects"."code", "projects"."name", "items"."item_code", "items"."item_name", "vendors"."vendor_name", "vendors"."vendor_code", "rfq_details"."currency", "payment_terms"."code", "payment_terms"."description", "incoterms"."code", "incoterms"."description", "rfq_details"."incoterms_detail", "rfq_details"."delivery_date", "rfq_details"."tax_code", "rfq_details"."place_of_shipping", "rfq_details"."place_of_destination", "rfq_details"."material_price_related_yn", "updated_by_user"."name", "rfq_details"."updated_at" from "procurement_rfq_details" "rfq_details" left join "procurement_rfqs" "rfqs" on "rfq_details"."procurement_rfqs_id" = "rfqs"."id" left join "projects" on "rfqs"."project_id" = "projects"."id" left join "items" on "rfqs"."item_id" = "items"."id" left join "vendors" on "rfq_details"."vendors_id" = "vendors"."id" left join "payment_terms" on "rfq_details"."payment_terms_code" = "payment_terms"."code" left join "incoterms" on "rfq_details"."incoterms_code" = "incoterms"."code" left join "users" "updated_by_user" on "rfq_details"."updated_by" = "updated_by_user"."id");
\ No newline at end of file
-- 
cgit v1.2.3

