From 3c5844e28762c5f99e4bfbcaea55d2e5da13cb05 Mon Sep 17 00:00:00 2001 From: Hyungi Ahn Date: Mon, 13 Apr 2026 16:03:35 +0900 Subject: [PATCH] =?UTF-8?q?fix(memos):=20DROP=20CONSTRAINT=20=EC=82=AC?= =?UTF-8?q?=EC=9A=A9=20(UNIQUE=20constraint=EB=8A=94=20DROP=20INDEX=20?= =?UTF-8?q?=EB=B6=88=EA=B0=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- migrations/107_memo_file_path_partial_unique.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/107_memo_file_path_partial_unique.sql b/migrations/107_memo_file_path_partial_unique.sql index 4d41b62..31fa3bb 100644 --- a/migrations/107_memo_file_path_partial_unique.sql +++ b/migrations/107_memo_file_path_partial_unique.sql @@ -1,2 +1,2 @@ --- 107: file_path UNIQUE → partial unique (NULL 허용, 값 있으면 유니크) -DROP INDEX IF EXISTS documents_file_path_key +-- 107: file_path UNIQUE constraint 제거 (partial unique로 교체 예정) +ALTER TABLE documents DROP CONSTRAINT IF EXISTS documents_file_path_key