e3a065d15d
asyncpg prepared statement가 multi-command를 지원하지 않아 시작 실패. 105 단일 파일을 105-112 개별 statement로 분리. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 lines
245 B
SQL
4 lines
245 B
SQL
-- 109: 메모 지원 컬럼 추가 (user_tags, pinned, ask_includable)
|
|
-- file_hash는 note에서 content SHA-256 (파일 해시가 아닌 본문 버전 해시)
|
|
ALTER TABLE documents ADD COLUMN IF NOT EXISTS user_tags JSONB DEFAULT '[]'::jsonb
|