-- Add Claude session tracking to sessions table.
-- Depends on: 019_conversations.sql
-- claude_session_id: the Claude Code session ID used for --resume in subsequent turns.
-- conversation_record_id: links this session to its conversation message history.
ALTER TABLE sessions
  ADD COLUMN IF NOT EXISTS claude_session_id VARCHAR(255),
  ADD COLUMN IF NOT EXISTS conversation_record_id UUID REFERENCES conversations(id);
