-- Meetings: action items get a personal-TODO life (PERSISTENT_BEHAVIOR.md).
-- The insight row IS the todo: status gains 'done' (open | dismissed | converted
-- | done), stamped with who/when. meetings.todo_digest_at guards the one-time
-- finalize digest to item owners. Live PG < 9.5: plain CREATE INDEX.

ALTER TABLE meeting_insights ADD COLUMN done_at timestamp;
ALTER TABLE meeting_insights ADD COLUMN done_by varchar(32);
ALTER TABLE meetings ADD COLUMN todo_digest_at timestamp;

CREATE INDEX idx_meeting_insights_owner ON meeting_insights (owner_user_id, status);
