From 9ceed79cf32c896f8a998399bf1b296506b2cd4a Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 8 Apr 2025 03:08:19 +0000
Subject: 로그인 및 미들웨어 처리. 구조 변경
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/migrations_backup/0012_giant_sunfire.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 db/migrations_backup/0012_giant_sunfire.sql

(limited to 'db/migrations_backup/0012_giant_sunfire.sql')

diff --git a/db/migrations_backup/0012_giant_sunfire.sql b/db/migrations_backup/0012_giant_sunfire.sql
new file mode 100644
index 00000000..97077702
--- /dev/null
+++ b/db/migrations_backup/0012_giant_sunfire.sql
@@ -0,0 +1,6 @@
+ALTER TABLE "rfq_items" DROP CONSTRAINT "rfq_items_rfq_id_rfqs_id_fk";
+--> statement-breakpoint
+ALTER TABLE "rfq_vendors" DROP CONSTRAINT "rfq_vendors_rfq_id_rfqs_id_fk";
+--> statement-breakpoint
+ALTER TABLE "rfq_items" ADD CONSTRAINT "rfq_items_rfq_id_rfqs_id_fk" FOREIGN KEY ("rfq_id") REFERENCES "public"."rfqs"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
+ALTER TABLE "rfq_vendors" ADD CONSTRAINT "rfq_vendors_rfq_id_rfqs_id_fk" FOREIGN KEY ("rfq_id") REFERENCES "public"."rfqs"("id") ON DELETE cascade ON UPDATE no action;
\ No newline at end of file
-- 
cgit v1.2.3

