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