- Qwen 분류기에 todo intent 추가 (프롬프트 + keyword fallback) - Route by Intent switch에 Todo case 추가 - Handle Todo 코드 노드 신규: Qwen 추출 → CalDAV create-todo → DB 저장 - migrate-v7.sql: calendar_events에 event_type 컬럼 + start_time nullable Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
443 B
SQL
9 lines
443 B
SQL
-- migrate-v7.sql: calendar_events에 todo 지원 추가
|
|
-- 실행: docker exec -i bot-postgres psql -U bot -d chatbot < init/migrate-v7.sql
|
|
|
|
-- event_type: 'event' (VEVENT) | 'todo' (VTODO)
|
|
ALTER TABLE calendar_events ADD COLUMN IF NOT EXISTS event_type VARCHAR(10) DEFAULT 'event';
|
|
|
|
-- start_time을 nullable로 변경 (todo는 시작시간 없이 due만 가질 수 있음)
|
|
ALTER TABLE calendar_events ALTER COLUMN start_time DROP NOT NULL;
|