ALTER TABLE form_templates
  ADD COLUMN agent_code VARCHAR(100) NULL AFTER description,
  ADD COLUMN agent_prompt LONGTEXT NULL AFTER agent_code;

ALTER TABLE form_templates
  ADD KEY idx_form_templates_agent_code (agent_code);
