ALTER TABLE reporting_events ADD COLUMN channel TEXT NOT NULL DEFAULT 'voice'; ALTER TABLE reporting_events ADD COLUMN agent_id TEXT NULL; CREATE INDEX IF NOT EXISTS ix_reporting_events_channel ON reporting_events (channel); CREATE INDEX IF NOT EXISTS ix_reporting_events_agent_id ON reporting_events (agent_id);