fix(memos): DROP CONSTRAINT 사용 (UNIQUE constraint는 DROP INDEX 불가)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-13 16:03:35 +09:00
parent e3a065d15d
commit 3c5844e287
@@ -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