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/0046_easy_ser_duncan.sql | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 db/migrations/0046_easy_ser_duncan.sql

(limited to 'db/migrations/0046_easy_ser_duncan.sql')

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

