-- Migration 013: Matrix approval tracking
-- Adds matrix_event_id to approvals so the notifier can poll for reactions.

ALTER TABLE approvals ADD COLUMN IF NOT EXISTS matrix_event_id TEXT;
ALTER TABLE approvals ADD COLUMN IF NOT EXISTS alert_sent_at TIMESTAMPTZ;
