-- Original student packet vs Grok-enhanced donor copy.

alter table deal_room_docs add column if not exists original_body text;
alter table deal_room_docs add column if not exists ai_body text;
alter table deal_room_docs add column if not exists ai_notes text;
alter table deal_room_docs add column if not exists used_ai boolean not null default false;
alter table deal_room_docs add column if not exists ai_reviewed_at timestamptz;
alter table deal_room_docs add column if not exists ai_model text;

update deal_room_docs set original_body = body where original_body is null;
