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/0066_powerful_shard.sql | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 db/migrations_backup/0066_powerful_shard.sql

(limited to 'db/migrations_backup/0066_powerful_shard.sql')

diff --git a/db/migrations_backup/0066_powerful_shard.sql b/db/migrations_backup/0066_powerful_shard.sql
new file mode 100644
index 00000000..cbd39199
--- /dev/null
+++ b/db/migrations_backup/0066_powerful_shard.sql
@@ -0,0 +1,4 @@
+ALTER TABLE "vendor_pq_review_logs" RENAME COLUMN "vendor_id" TO "vendor_pq_criteria_answer_id";--> statement-breakpoint
+ALTER TABLE "vendor_pq_review_logs" DROP CONSTRAINT "vendor_pq_review_logs_vendor_id_vendors_id_fk";
+--> statement-breakpoint
+ALTER TABLE "vendor_pq_review_logs" ADD CONSTRAINT "vendor_pq_review_logs_vendor_pq_criteria_answer_id_vendor_pq_criteria_answers_id_fk" FOREIGN KEY ("vendor_pq_criteria_answer_id") REFERENCES "public"."vendor_pq_criteria_answers"("id") ON DELETE cascade ON UPDATE no action;
\ No newline at end of file
-- 
cgit v1.2.3

