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

(limited to 'db/migrations_backup/0039_elite_zemo.sql')

diff --git a/db/migrations_backup/0039_elite_zemo.sql b/db/migrations_backup/0039_elite_zemo.sql
new file mode 100644
index 00000000..638b03ef
--- /dev/null
+++ b/db/migrations_backup/0039_elite_zemo.sql
@@ -0,0 +1,3 @@
+ALTER TABLE "tag_classes" ADD COLUMN "tag_type_code" varchar(50) NOT NULL;--> statement-breakpoint
+ALTER TABLE "tag_classes" ADD CONSTRAINT "tag_classes_tag_type_code_tag_subfields_tag_type_code_fk" FOREIGN KEY ("tag_type_code") REFERENCES "public"."tag_subfields"("tag_type_code") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
+ALTER TABLE "tag_subfields" ADD CONSTRAINT "tag_subfields_tag_type_code_unique" UNIQUE("tag_type_code");
\ No newline at end of file
-- 
cgit v1.2.3

