From 15c3ae6536c264db0508e4fc4aaa59c3e6d1af30 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Tue, 15 Jul 2025 00:50:39 +0000
Subject: (대표님) 기본계약 및 정기평가 작업사항, OCR 변경사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 db/migrations/0207_many_firestar.sql | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 db/migrations/0207_many_firestar.sql

(limited to 'db/migrations/0207_many_firestar.sql')

diff --git a/db/migrations/0207_many_firestar.sql b/db/migrations/0207_many_firestar.sql
new file mode 100644
index 00000000..46691ab1
--- /dev/null
+++ b/db/migrations/0207_many_firestar.sql
@@ -0,0 +1,3 @@
+ALTER TABLE "items" DROP CONSTRAINT "items_item_code_unique";--> statement-breakpoint
+ALTER TABLE "items" ALTER COLUMN "item_code" SET NOT NULL;--> statement-breakpoint
+ALTER TABLE "items" ADD CONSTRAINT "project_item_unique" UNIQUE("project_no","item_code");
\ No newline at end of file
-- 
cgit v1.2.3

