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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user