Files
multica/server/migrations/154_chat_agent_intro.up.sql
Multica Eve 6a72f248a1 fix: unblock release migrations (#5162)
Co-authored-by: Eve <eve@multica-ai.local>
Co-authored-by: multica-agent <github@multica.ai>
2026-07-09 17:59:19 +08:00

7 lines
482 B
SQL

-- Flags a chat_session auto-created when its agent was created, so its first
-- turn is a proactive self-introduction from the agent. Such a session carries
-- NO visible user message: the intro run is driven server-side (see the chat
-- prompt in server/internal/daemon/prompt.go) so the thread reads as the agent
-- messaging its creator first, not the creator prompting the agent.
ALTER TABLE chat_session ADD COLUMN IF NOT EXISTS is_agent_intro BOOLEAN NOT NULL DEFAULT FALSE;