-- 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;